| Index: pkg/analyzer_cli/test/data/super_mixin_example.dart
|
| diff --git a/tests/language/issue13179_test.dart b/pkg/analyzer_cli/test/data/super_mixin_example.dart
|
| similarity index 51%
|
| copy from tests/language/issue13179_test.dart
|
| copy to pkg/analyzer_cli/test/data/super_mixin_example.dart
|
| index 0439ceab895f5925234763b90cb323007bc19b14..ea9048680fdecd48d5d63c715db8599fecb0a2fd 100644
|
| --- a/tests/language/issue13179_test.dart
|
| +++ b/pkg/analyzer_cli/test/data/super_mixin_example.dart
|
| @@ -2,18 +2,17 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -import "package:expect/expect.dart";
|
| -
|
| -int count = 0;
|
| +/// This produces errors normally, but --supermixin disables them.
|
| +class Test extends Object with C {
|
| + void foo() {}
|
| +}
|
|
|
| -void f([void f([x]) = f]) {
|
| - count++;
|
| - if (f != null) {
|
| - f(null);
|
| - }
|
| +abstract class B {
|
| + void foo();
|
| }
|
|
|
| -main() {
|
| - f();
|
| - Expect.equals(2, count);
|
| +abstract class C extends B {
|
| + void bar() {
|
| + super.foo();
|
| + }
|
| }
|
|
|