Skip to content

Commit

Permalink
Version 2.10.0-79.0.dev
Browse files Browse the repository at this point in the history
Merge commit '69387f9d9337aed4ed9b5c73c9685064b1052f25' into 'dev'
  • Loading branch information
Dart CI committed Sep 1, 2020
2 parents ec77d9a + 69387f9 commit 6eab35f
Show file tree
Hide file tree
Showing 42 changed files with 1,070 additions and 168 deletions.
14 changes: 14 additions & 0 deletions pkg/analysis_server/lib/src/services/correction/fix_internal.dart
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ class FixProcessor extends BaseProcessor {
ImportLibrary.forType,
],
CompileTimeErrorCode.EXTENDS_NON_CLASS: [
DataDriven.newInstance,
ImportLibrary.forType,
],
CompileTimeErrorCode.EXTRA_POSITIONAL_ARGUMENTS: [
Expand All @@ -509,6 +510,7 @@ class FixProcessor extends BaseProcessor {
AddMissingParameter.newInstance,
],
CompileTimeErrorCode.IMPLEMENTS_NON_CLASS: [
DataDriven.newInstance,
ImportLibrary.forType,
],
CompileTimeErrorCode.INVALID_ANNOTATION: [
Expand All @@ -519,6 +521,7 @@ class FixProcessor extends BaseProcessor {
DataDriven.newInstance,
],
CompileTimeErrorCode.MIXIN_OF_NON_CLASS: [
DataDriven.newInstance,
ImportLibrary.forType,
],
CompileTimeErrorCode.NEW_WITH_NON_TYPE: [
Expand Down Expand Up @@ -551,21 +554,25 @@ class FixProcessor extends BaseProcessor {
ImportLibrary.forType,
],
CompileTimeErrorCode.UNDEFINED_CLASS: [
DataDriven.newInstance,
ImportLibrary.forType,
],
CompileTimeErrorCode.UNDEFINED_CONSTRUCTOR_IN_INITIALIZER_DEFAULT: [
AddSuperConstructorInvocation.newInstance,
],
CompileTimeErrorCode.UNDEFINED_FUNCTION: [
DataDriven.newInstance,
ImportLibrary.forExtension,
ImportLibrary.forFunction,
ImportLibrary.forType,
],
CompileTimeErrorCode.UNDEFINED_GETTER: [
DataDriven.newInstance,
ImportLibrary.forTopLevelVariable,
ImportLibrary.forType,
],
CompileTimeErrorCode.UNDEFINED_IDENTIFIER: [
DataDriven.newInstance,
ImportLibrary.forExtension,
ImportLibrary.forFunction,
ImportLibrary.forTopLevelVariable,
Expand All @@ -579,6 +586,10 @@ class FixProcessor extends BaseProcessor {
CompileTimeErrorCode.UNDEFINED_NAMED_PARAMETER: [
ChangeArgumentName.newInstance,
],
CompileTimeErrorCode.UNDEFINED_SETTER: [
DataDriven.newInstance,
// TODO(brianwilkerson) Support ImportLibrary
],
CompileTimeErrorCode.WRONG_NUMBER_OF_TYPE_ARGUMENTS: [
DataDriven.newInstance,
],
Expand All @@ -597,6 +608,9 @@ class FixProcessor extends BaseProcessor {
HintCode.DEPRECATED_MEMBER_USE_WITH_MESSAGE: [
DataDriven.newInstance,
],
HintCode.OVERRIDE_ON_NON_OVERRIDING_METHOD: [
DataDriven.newInstance,
],
HintCode.SDK_VERSION_ASYNC_EXPORTED_FROM_CORE: [
ImportLibrary.dartAsync,
],
Expand Down
Loading

0 comments on commit 6eab35f

Please sign in to comment.