| Index: pkg/analyzer/test/generated/static_warning_code_test.dart
|
| diff --git a/pkg/analyzer/test/generated/static_warning_code_test.dart b/pkg/analyzer/test/generated/static_warning_code_test.dart
|
| index 6df4785a2bf39394eedc1d301f1b442a268d8c06..0aac65afcdd935aab311d06c102cad029d461f9e 100644
|
| --- a/pkg/analyzer/test/generated/static_warning_code_test.dart
|
| +++ b/pkg/analyzer/test/generated/static_warning_code_test.dart
|
| @@ -3371,39 +3371,12 @@ f(var l) {
|
| assertErrors(source, [StaticWarningCode.UNDEFINED_IDENTIFIER]);
|
| }
|
|
|
| - void test_undefinedIdentifier_function_prefix() {
|
| - addNamedSource("/lib.dart", r'''
|
| -library lib;
|
| -class C {}''');
|
| - Source source = addSource(r'''
|
| -import 'lib.dart' as b;
|
| -
|
| -int a() => b;
|
| -b.C c;''');
|
| - resolve(source);
|
| - assertErrors(source, [StaticWarningCode.UNDEFINED_IDENTIFIER]);
|
| - verify([source]);
|
| - }
|
| -
|
| void test_undefinedIdentifier_initializer() {
|
| Source source = addSource("var a = b;");
|
| resolve(source);
|
| assertErrors(source, [StaticWarningCode.UNDEFINED_IDENTIFIER]);
|
| }
|
|
|
| - void test_undefinedIdentifier_initializer_prefix() {
|
| - addNamedSource("/lib.dart", r'''
|
| -library lib;
|
| -class C {}''');
|
| - Source source = addSource(r'''
|
| -import 'lib.dart' as b;
|
| -
|
| -var a = b;
|
| -b.C c;''');
|
| - resolve(source);
|
| - assertErrors(source, [StaticWarningCode.UNDEFINED_IDENTIFIER]);
|
| - }
|
| -
|
| void test_undefinedIdentifier_methodInvocation() {
|
| Source source = addSource("f() { C.m(); }");
|
| resolve(source);
|
|
|