Index: pkg/analyzer/test/generated/non_error_resolver_test.dart |
diff --git a/pkg/analyzer/test/generated/non_error_resolver_test.dart b/pkg/analyzer/test/generated/non_error_resolver_test.dart |
index 65a73e4c82125f5116a1a6136ba142d43fc44f4e..e36ab229d15cccdbfa1765e06fdae66ee7d8d7b5 100644 |
--- a/pkg/analyzer/test/generated/non_error_resolver_test.dart |
+++ b/pkg/analyzer/test/generated/non_error_resolver_test.dart |
@@ -271,28 +271,6 @@ main() { |
verify([source]); |
} |
- void test_assignment_to_field_with_same_name_as_prefix() { |
- // If p is an import prefix, then within a method body, p = expr should be |
- // considered equivalent to this.p = expr. |
- addNamedSource("/lib.dart", r''' |
-library lib; |
-'''); |
- Source source = addSource(r''' |
-import 'lib.dart' as p; |
-class Base { |
- var p; |
-} |
-class Derived extends Base { |
- f() { |
- p = 0; |
- } |
-} |
-'''); |
- computeLibrarySourceErrors(source); |
- assertErrors(source, [HintCode.UNUSED_IMPORT]); |
- verify([source]); |
- } |
- |
void test_assignmentToFinal_prefixNegate() { |
Source source = addSource(r''' |
f() { |
@@ -5191,28 +5169,6 @@ class B extends A { |
verify([source]); |
} |
- void test_unqualified_invocation_of_method_with_same_name_as_prefix() { |
- // If p is an import prefix, then within a method body, p() should be |
- // considered equivalent to this.p(). |
- addNamedSource("/lib.dart", r''' |
-library lib; |
-'''); |
- Source source = addSource(r''' |
-import 'lib.dart' as p; |
-class Base { |
- p() {} |
-} |
-class Derived extends Base { |
- f() { |
- p(); |
- } |
-} |
-'''); |
- computeLibrarySourceErrors(source); |
- assertErrors(source, [HintCode.UNUSED_IMPORT]); |
- verify([source]); |
- } |
- |
void test_unqualifiedReferenceToNonLocalStaticMember_fromComment_new() { |
Source source = addSource(r''' |
class A { |