You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/analyzer_experimental/lib/src/generated/error.dart
+7-20Lines changed: 7 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -2616,18 +2616,6 @@ class StaticWarningCode implements Comparable<StaticWarningCode>, ErrorCode {
2616
2616
*/
2617
2617
staticfinalStaticWarningCodeTYPE_PARAMETER_REFERENCED_BY_STATIC=newStaticWarningCode('TYPE_PARAMETER_REFERENCED_BY_STATIC', 62, "Static members cannot reference type parameters");
2618
2618
2619
-
/**
2620
-
* 15.1 Static Types: A type <i>T</i> is malformed iff: * <i>T</i> has the form <i>id</i> or the
2621
-
* form <i>prefix.id</i>, and in the enclosing lexical scope, the name <i>id</i> (respectively
2622
-
* <i>prefix.id</i>) does not denote a type. * <i>T</i> denotes a type variable in the
2623
-
* enclosing lexical scope, but occurs in the signature or body of a static member. *
2624
-
* <i>T</i> is a parameterized type of the form <i>G<S<sub>1</sub>, .., S<sub>n</sub>></i>,
2625
-
* and <i>G</i> is malformed.
2626
-
*
2627
-
* Any use of a malformed type gives rise to a static warning.
@@ -2636,12 +2624,12 @@ class StaticWarningCode implements Comparable<StaticWarningCode>, ErrorCode {
2636
2624
*
2637
2625
* @param undefinedClassName the name of the undefined class
2638
2626
*/
2639
-
staticfinalStaticWarningCodeUNDEFINED_CLASS=newStaticWarningCode('UNDEFINED_CLASS', 64, "Undefined class '%s'");
2627
+
staticfinalStaticWarningCodeUNDEFINED_CLASS=newStaticWarningCode('UNDEFINED_CLASS', 63, "Undefined class '%s'");
2640
2628
2641
2629
/**
2642
2630
* Same as [UNDEFINED_CLASS], but to catch using "boolean" instead of "bool".
2643
2631
*/
2644
-
staticfinalStaticWarningCodeUNDEFINED_CLASS_BOOLEAN=newStaticWarningCode('UNDEFINED_CLASS_BOOLEAN', 65, "Undefined class 'boolean'; did you mean 'bool'?");
2632
+
staticfinalStaticWarningCodeUNDEFINED_CLASS_BOOLEAN=newStaticWarningCode('UNDEFINED_CLASS_BOOLEAN', 64, "Undefined class 'boolean'; did you mean 'bool'?");
2645
2633
2646
2634
/**
2647
2635
* 12.17 Getter Invocation: It is a static warning if there is no class <i>C</i> in the enclosing
@@ -2651,15 +2639,15 @@ class StaticWarningCode implements Comparable<StaticWarningCode>, ErrorCode {
2651
2639
* @param getterName the name of the getter
2652
2640
* @param enclosingType the name of the enclosing type where the getter is being looked for
2653
2641
*/
2654
-
staticfinalStaticWarningCodeUNDEFINED_GETTER=newStaticWarningCode('UNDEFINED_GETTER', 66, "There is no such getter '%s' in '%s'");
2642
+
staticfinalStaticWarningCodeUNDEFINED_GETTER=newStaticWarningCode('UNDEFINED_GETTER', 65, "There is no such getter '%s' in '%s'");
2655
2643
2656
2644
/**
2657
2645
* 12.30 Identifier Reference: It is as static warning if an identifier expression of the form
2658
2646
* <i>id</i> occurs inside a top level or static function (be it function, method, getter, or
2659
2647
* setter) or variable initializer and there is no declaration <i>d</i> with name <i>id</i> in the
2660
2648
* lexical scope enclosing the expression.
2661
2649
*/
2662
-
staticfinalStaticWarningCodeUNDEFINED_IDENTIFIER=newStaticWarningCode('UNDEFINED_IDENTIFIER', 67, "Undefined name '%s'");
2650
+
staticfinalStaticWarningCodeUNDEFINED_IDENTIFIER=newStaticWarningCode('UNDEFINED_IDENTIFIER', 66, "Undefined name '%s'");
2663
2651
2664
2652
/**
2665
2653
* 12.14.2 Binding Actuals to Formals: Furthermore, each <i>q<sub>i</sub></i>, <i>1<=i<=l</i>,
@@ -2668,7 +2656,7 @@ class StaticWarningCode implements Comparable<StaticWarningCode>, ErrorCode {
2668
2656
*
2669
2657
* @param name the name of the requested named parameter
2670
2658
*/
2671
-
staticfinalStaticWarningCodeUNDEFINED_NAMED_PARAMETER=newStaticWarningCode('UNDEFINED_NAMED_PARAMETER', 68, "The named parameter '%s' is not defined");
2659
+
staticfinalStaticWarningCodeUNDEFINED_NAMED_PARAMETER=newStaticWarningCode('UNDEFINED_NAMED_PARAMETER', 67, "The named parameter '%s' is not defined");
2672
2660
2673
2661
/**
2674
2662
* 12.18 Assignment: It is as static warning if an assignment of the form <i>v = e</i> occurs
@@ -2683,7 +2671,7 @@ class StaticWarningCode implements Comparable<StaticWarningCode>, ErrorCode {
2683
2671
* @param setterName the name of the getter
2684
2672
* @param enclosingType the name of the enclosing type where the setter is being looked for
2685
2673
*/
2686
-
staticfinalStaticWarningCodeUNDEFINED_SETTER=newStaticWarningCode('UNDEFINED_SETTER', 69, "There is no such setter '%s' in '%s'");
2674
+
staticfinalStaticWarningCodeUNDEFINED_SETTER=newStaticWarningCode('UNDEFINED_SETTER', 68, "There is no such setter '%s' in '%s'");
2687
2675
2688
2676
/**
2689
2677
* 12.15.3 Static Invocation: It is a static warning if <i>C</i> does not declare a static method
@@ -2692,7 +2680,7 @@ class StaticWarningCode implements Comparable<StaticWarningCode>, ErrorCode {
2692
2680
* @param methodName the name of the method
2693
2681
* @param enclosingType the name of the enclosing type where the method is being looked for
2694
2682
*/
2695
-
staticfinalStaticWarningCodeUNDEFINED_STATIC_METHOD_OR_GETTER=newStaticWarningCode('UNDEFINED_STATIC_METHOD_OR_GETTER', 70, "There is no such static method '%s' in '%s'");
2683
+
staticfinalStaticWarningCodeUNDEFINED_STATIC_METHOD_OR_GETTER=newStaticWarningCode('UNDEFINED_STATIC_METHOD_OR_GETTER', 69, "There is no such static method '%s' in '%s'");
2696
2684
staticfinalList<StaticWarningCode> values = [
2697
2685
AMBIGUOUS_IMPORT,
2698
2686
ARGUMENT_TYPE_NOT_ASSIGNABLE,
@@ -2757,7 +2745,6 @@ class StaticWarningCode implements Comparable<StaticWarningCode>, ErrorCode {
0 commit comments