| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 class Mixin { | 5 class Mixin { |
| 6 var field; | 6 var field; |
| 7 foo() => 87; |
| 7 } | 8 } |
| 8 | 9 |
| 9 class A extends Object with Mixin, Mixin { | 10 class Foo extends Object with Mixin { |
| 11 foo() => super.foo(); |
| 12 bar() => super.field; |
| 10 } | 13 } |
| 14 |
| 15 main() { |
| 16 var f = new Foo(); |
| 17 f.field = 42; |
| 18 print(f.bar()); |
| 19 } |
| OLD | NEW |