| 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 f172ec6ed1146c987ca34851215464c1c1a2da44..067627dbd9b4f1e6c36fe99a2b1bd08448ff893f 100644
|
| --- a/pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| +++ b/pkg/analyzer/test/generated/non_error_resolver_test.dart
|
| @@ -36,6 +36,28 @@ E e() {
|
| verify([source]);
|
| }
|
|
|
| + void
|
| + test_abstractSuperMemberReference_superHasConcrete_mixinHasAbstract_method() {
|
| + Source source = addSource('''
|
| +class A {
|
| + void method() {}
|
| +}
|
| +
|
| +abstract class B {
|
| + void method();
|
| +}
|
| +
|
| +class C extends A with B {
|
| + void method() {
|
| + super.method();
|
| + }
|
| +}
|
| +''');
|
| + computeLibrarySourceErrors(source);
|
| + assertNoErrors(source);
|
| + verify([source]);
|
| + }
|
| +
|
| void test_abstractSuperMemberReference_superHasNoSuchMethod() {
|
| Source source = addSource('''
|
| abstract class A {
|
| @@ -3718,22 +3740,22 @@ class B extends A {
|
| verify([source]);
|
| }
|
|
|
| - void test_nativeFunctionBodyInNonSDKCode_function() {
|
| + void test_nativeConstConstructor() {
|
| Source source = addSource(r'''
|
| import 'dart-ext:x';
|
| -int m(a) native 'string';''');
|
| +class Foo {
|
| + const Foo() native 'Foo_Foo';
|
| + const factory Foo.foo() native 'Foo_Foo_foo';
|
| +}''');
|
| computeLibrarySourceErrors(source);
|
| assertNoErrors(source);
|
| // Cannot verify the AST because the import's URI cannot be resolved.
|
| }
|
|
|
| - void test_nativeConstConstructor() {
|
| + void test_nativeFunctionBodyInNonSDKCode_function() {
|
| Source source = addSource(r'''
|
| import 'dart-ext:x';
|
| -class Foo {
|
| - const Foo() native 'Foo_Foo';
|
| - const factory Foo.foo() native 'Foo_Foo_foo';
|
| -}''');
|
| +int m(a) native 'string';''');
|
| computeLibrarySourceErrors(source);
|
| assertNoErrors(source);
|
| // Cannot verify the AST because the import's URI cannot be resolved.
|
|
|