| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 library lib1; |
| 6 |
| 7 import "deferred_mixin_shared.dart"; |
| 8 import "deferred_mixin_test.dart"; |
| 9 |
| 10 class Mixin { |
| 11 foo() => "lib1.Mixin"; |
| 12 } |
| 13 |
| 14 class A extends Object with NonDeferredMixin { |
| 15 foo() { |
| 16 return "A with " + super.foo(); |
| 17 } |
| 18 } |
| 19 |
| 20 class B extends Object with Mixin { |
| 21 foo() { |
| 22 return "B with " + super.foo(); |
| 23 } |
| 24 } |
| 25 |
| 26 class C extends Object with Mixin, NonDeferredMixin1 { |
| 27 foo() { |
| 28 return "C with " + super.foo(); |
| 29 } |
| 30 } |
| 31 |
| 32 class D extends Object with NonDeferredMixin2, Mixin { |
| 33 foo() { |
| 34 return "D with " + super.foo(); |
| 35 } |
| 36 } |
| 37 |
| 38 class E extends Object with SharedMixin { |
| 39 foo() { |
| 40 return "E with " + super.foo(); |
| 41 } |
| 42 } |
| OLD | NEW |