| Index: pkg/analyzer_cli/test/data/super_mixin_example.dart
|
| diff --git a/tests/language/call_function_apply_test.dart b/pkg/analyzer_cli/test/data/super_mixin_example.dart
|
| similarity index 51%
|
| copy from tests/language/call_function_apply_test.dart
|
| copy to pkg/analyzer_cli/test/data/super_mixin_example.dart
|
| index 935cfaf832aff599478847534822d651a4ddcd51..ea9048680fdecd48d5d63c715db8599fecb0a2fd 100644
|
| --- a/tests/language/call_function_apply_test.dart
|
| +++ b/pkg/analyzer_cli/test/data/super_mixin_example.dart
|
| @@ -2,14 +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";
|
| +/// This produces errors normally, but --supermixin disables them.
|
| +class Test extends Object with C {
|
| + void foo() {}
|
| +}
|
|
|
| -class A {
|
| - call({a: 42}) {
|
| - return 499 + a;
|
| - }
|
| +abstract class B {
|
| + void foo();
|
| }
|
|
|
| -main() {
|
| - Expect.equals(497, Function.apply(new A(), [], {#a: -2}));
|
| +abstract class C extends B {
|
| + void bar() {
|
| + super.foo();
|
| + }
|
| }
|
|
|