Index: pkg/analysis_server/lib/src/services/correction/fix.dart |
diff --git a/pkg/analysis_server/lib/src/services/correction/fix.dart b/pkg/analysis_server/lib/src/services/correction/fix.dart |
index c46fdd2292668c62ba5e9188601c2f683cd9c996..73f9bd5732474c3ba70768484dbbd7da87ed658a 100644 |
--- a/pkg/analysis_server/lib/src/services/correction/fix.dart |
+++ b/pkg/analysis_server/lib/src/services/correction/fix.dart |
@@ -72,6 +72,7 @@ bool hasFix(ErrorCode errorCode) => errorCode == |
errorCode == |
CompileTimeErrorCode.UNDEFINED_CONSTRUCTOR_IN_INITIALIZER_DEFAULT || |
errorCode == CompileTimeErrorCode.URI_DOES_NOT_EXIST || |
+ errorCode == HintCode.CAN_BE_NULL_AFTER_NULL_AWARE || |
errorCode == HintCode.DEAD_CODE || |
errorCode == HintCode.DIVISION_OPTIMIZATION || |
errorCode == HintCode.TYPE_CHECK_IS_NOT_NULL || |
@@ -169,8 +170,8 @@ class DartFixKind { |
'REMOVE_PARENTHESIS_IN_GETTER_INVOCATION', |
50, |
"Remove parentheses in getter invocation"); |
- static const REMOVE_UNNECASSARY_CAST = |
- const FixKind('REMOVE_UNNECASSARY_CAST', 50, "Remove unnecessary cast"); |
+ static const REMOVE_UNNECESSARY_CAST = |
+ const FixKind('REMOVE_UNNECESSARY_CAST', 50, "Remove unnecessary cast"); |
static const REMOVE_UNUSED_CATCH_CLAUSE = |
const FixKind('REMOVE_UNUSED_CATCH', 50, "Remove unused 'catch' clause"); |
static const REMOVE_UNUSED_CATCH_STACK = const FixKind( |