| 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 5fc22dccea9b28567e6c78220346ab01288f5c0e..112017710d73cc5e62d5b4edbd0a3e147eb1d9f0 100644
|
| --- a/pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| +++ b/pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| @@ -971,9 +971,8 @@ class B extends A {
|
| const B(): super();
|
| }''');
|
| resolve(source);
|
| - assertErrors(source, [
|
| - CompileTimeErrorCode.UNDEFINED_CONSTRUCTOR_IN_INITIALIZER_DEFAULT
|
| - ]);
|
| + assertErrors(source,
|
| + [CompileTimeErrorCode.UNDEFINED_CONSTRUCTOR_IN_INITIALIZER_DEFAULT]);
|
| verify([source]);
|
| }
|
|
|
| @@ -1668,6 +1667,18 @@ class D extends C {
|
| verify([source]);
|
| }
|
|
|
| + void test_functionWithoutCall_staticCallMethod() {
|
| + Source source = addSource(r'''
|
| +class A { }
|
| +class B extends A {
|
| + static call() { }
|
| +}
|
| +''');
|
| + resolve(source);
|
| + assertNoErrors(source);
|
| + verify([source]);
|
| + }
|
| +
|
| void test_functionWithoutCall_withNoSuchMethod() {
|
| // 16078
|
| Source source = addSource(r'''
|
|
|