| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 // SharedOptions=--supermixin |
| 4 | 5 |
| 5 import "package:expect/expect.dart"; | 6 import "package:expect/expect.dart"; |
| 6 | 7 |
| 7 class M { | 8 class M { |
| 8 } | 9 } |
| 9 | 10 |
| 10 class P0 { | 11 class P0 { |
| 11 foo() { | 12 foo() { |
| 12 super.toString(); | 13 super.toString(); |
| 13 | 14 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 class E = Object with M, P1; | 57 class E = Object with M, P1; |
| 57 class F = Object with P2, M; | 58 class F = Object with P2, M; |
| 58 | 59 |
| 59 main() { | 60 main() { |
| 60 var p1 = new P1(); | 61 var p1 = new P1(); |
| 61 var p2 = new P2(); | 62 var p2 = new P2(); |
| 62 Expect.equals(87, p1.bar()); | 63 Expect.equals(87, p1.bar()); |
| 63 p1.test(); | 64 p1.test(); |
| 64 Expect.equals(99, p2.baz()); | 65 Expect.equals(99, p2.baz()); |
| 65 } | 66 } |
| OLD | NEW |