@@ -500,6 +500,7 @@ class FixProcessor extends BaseProcessor {
500
500
ImportLibrary .forType,
501
501
],
502
502
CompileTimeErrorCode .EXTENDS_NON_CLASS : [
503
+ DataDriven .newInstance,
503
504
ImportLibrary .forType,
504
505
],
505
506
CompileTimeErrorCode .EXTRA_POSITIONAL_ARGUMENTS : [
@@ -509,6 +510,7 @@ class FixProcessor extends BaseProcessor {
509
510
AddMissingParameter .newInstance,
510
511
],
511
512
CompileTimeErrorCode .IMPLEMENTS_NON_CLASS : [
513
+ DataDriven .newInstance,
512
514
ImportLibrary .forType,
513
515
],
514
516
CompileTimeErrorCode .INVALID_ANNOTATION : [
@@ -519,6 +521,7 @@ class FixProcessor extends BaseProcessor {
519
521
DataDriven .newInstance,
520
522
],
521
523
CompileTimeErrorCode .MIXIN_OF_NON_CLASS : [
524
+ DataDriven .newInstance,
522
525
ImportLibrary .forType,
523
526
],
524
527
CompileTimeErrorCode .NEW_WITH_NON_TYPE : [
@@ -551,21 +554,25 @@ class FixProcessor extends BaseProcessor {
551
554
ImportLibrary .forType,
552
555
],
553
556
CompileTimeErrorCode .UNDEFINED_CLASS : [
557
+ DataDriven .newInstance,
554
558
ImportLibrary .forType,
555
559
],
556
560
CompileTimeErrorCode .UNDEFINED_CONSTRUCTOR_IN_INITIALIZER_DEFAULT : [
557
561
AddSuperConstructorInvocation .newInstance,
558
562
],
559
563
CompileTimeErrorCode .UNDEFINED_FUNCTION : [
564
+ DataDriven .newInstance,
560
565
ImportLibrary .forExtension,
561
566
ImportLibrary .forFunction,
562
567
ImportLibrary .forType,
563
568
],
564
569
CompileTimeErrorCode .UNDEFINED_GETTER : [
570
+ DataDriven .newInstance,
565
571
ImportLibrary .forTopLevelVariable,
566
572
ImportLibrary .forType,
567
573
],
568
574
CompileTimeErrorCode .UNDEFINED_IDENTIFIER : [
575
+ DataDriven .newInstance,
569
576
ImportLibrary .forExtension,
570
577
ImportLibrary .forFunction,
571
578
ImportLibrary .forTopLevelVariable,
@@ -579,6 +586,10 @@ class FixProcessor extends BaseProcessor {
579
586
CompileTimeErrorCode .UNDEFINED_NAMED_PARAMETER : [
580
587
ChangeArgumentName .newInstance,
581
588
],
589
+ CompileTimeErrorCode .UNDEFINED_SETTER : [
590
+ DataDriven .newInstance,
591
+ // TODO(brianwilkerson) Support ImportLibrary
592
+ ],
582
593
CompileTimeErrorCode .WRONG_NUMBER_OF_TYPE_ARGUMENTS : [
583
594
DataDriven .newInstance,
584
595
],
@@ -597,6 +608,9 @@ class FixProcessor extends BaseProcessor {
597
608
HintCode .DEPRECATED_MEMBER_USE_WITH_MESSAGE : [
598
609
DataDriven .newInstance,
599
610
],
611
+ HintCode .OVERRIDE_ON_NON_OVERRIDING_METHOD : [
612
+ DataDriven .newInstance,
613
+ ],
600
614
HintCode .SDK_VERSION_ASYNC_EXPORTED_FROM_CORE : [
601
615
ImportLibrary .dartAsync,
602
616
],
0 commit comments