update hasFix lookup table
Change-Id: Ie8386cf9fbdedfc6e8d08ce4939af60f623292a6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96542
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
diff --git a/pkg/analysis_server/lib/src/services/correction/fix.dart b/pkg/analysis_server/lib/src/services/correction/fix.dart
index 5ad3d75..3bb80d7 100644
--- a/pkg/analysis_server/lib/src/services/correction/fix.dart
+++ b/pkg/analysis_server/lib/src/services/correction/fix.dart
@@ -73,15 +73,36 @@
errorCode == StaticTypeWarningCode.UNDEFINED_SETTER ||
errorCode == CompileTimeErrorCode.UNDEFINED_NAMED_PARAMETER ||
(errorCode is LintCode &&
- (errorCode.name == LintNames.annotate_overrides ||
+ (errorCode.name == LintNames.always_require_non_null_named_parameters ||
+ errorCode.name == LintNames.annotate_overrides ||
+ errorCode.name == LintNames.avoid_annotating_with_dynamic ||
+ errorCode.name == LintNames.avoid_empty_else ||
errorCode.name == LintNames.avoid_init_to_null ||
+ errorCode.name == LintNames.avoid_return_types_on_setters ||
+ errorCode.name == LintNames.avoid_types_on_closure_parameters ||
+ errorCode.name == LintNames.await_only_futures ||
+ errorCode.name == LintNames.empty_catches ||
+ errorCode.name == LintNames.empty_constructor_bodies ||
+ errorCode.name == LintNames.empty_statements ||
+ errorCode.name == LintNames.no_duplicate_case_values ||
+ errorCode.name == LintNames.non_constant_identifier_names ||
+ errorCode.name == LintNames.null_closures ||
errorCode.name == LintNames.prefer_collection_literals ||
errorCode.name == LintNames.prefer_conditional_assignment ||
errorCode.name == LintNames.prefer_const_declarations ||
+ errorCode.name == LintNames.prefer_equal_for_default_values ||
+ errorCode.name == LintNames.prefer_final_fields ||
+ errorCode.name == LintNames.prefer_final_locals ||
+ errorCode.name == LintNames.prefer_is_not_empty ||
+ errorCode.name == LintNames.type_init_formals ||
+ errorCode.name == LintNames.unawaited_futures ||
errorCode.name == LintNames.unnecessary_brace_in_string_interps ||
errorCode.name == LintNames.unnecessary_const ||
errorCode.name == LintNames.unnecessary_lambdas ||
- errorCode.name == LintNames.unnecessary_this));
+ errorCode.name == LintNames.unnecessary_new ||
+ errorCode.name == LintNames.unnecessary_overrides ||
+ errorCode.name == LintNames.unnecessary_this ||
+ errorCode.name == LintNames.use_rethrow_when_possible));
/**
* The implementation of [DartFixContext].