| 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 f8fc40d9a8723cf3d6f8f69d3db2a6a51a691d5f..9eb44ab0c7b9dbc7f62539ac8c075e724eb0c5cb 100644
|
| --- a/pkg/analyzer/test/generated/static_warning_code_test.dart
|
| +++ b/pkg/analyzer/test/generated/static_warning_code_test.dart
|
| @@ -4,6 +4,7 @@
|
|
|
| library analyzer.test.generated.static_warning_code_test;
|
|
|
| +import 'package:analyzer/src/generated/engine.dart';
|
| import 'package:analyzer/src/generated/error.dart';
|
| import 'package:analyzer/src/generated/source_io.dart';
|
| import 'package:unittest/unittest.dart';
|
| @@ -2862,6 +2863,23 @@ class C implements I {
|
| verify([source]);
|
| }
|
|
|
| + void
|
| + test_nonAbstractClassInheritsAbstractMemberTwo_variable_fromMixin_missingBoth() {
|
| + // 26411
|
| + resetWithOptions(new AnalysisOptionsImpl()..enableSuperMixins = true);
|
| + Source source = addSource(r'''
|
| +class A {
|
| + int f;
|
| +}
|
| +class B extends A {}
|
| +class C extends Object with B {}
|
| +''');
|
| + computeLibrarySourceErrors(source);
|
| + assertErrors(source,
|
| + [StaticWarningCode.NON_ABSTRACT_CLASS_INHERITS_ABSTRACT_MEMBER_TWO]);
|
| + verify([source]);
|
| + }
|
| +
|
| void test_nonTypeInCatchClause_noElement() {
|
| Source source = addSource(r'''
|
| f() {
|
|
|