| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 MS<T> { | 8 class MS<T> { |
| 8 foo() { | 9 foo() { |
| 9 return "MS<$T>.foo\n"; | 10 return "MS<$T>.foo\n"; |
| 10 } | 11 } |
| 11 } | 12 } |
| 12 | 13 |
| 13 class M<T> extends MS<List<T>> { | 14 class M<T> extends MS<List<T>> { |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 "N<bool>.foo\n" | 72 "N<bool>.foo\n" |
| 72 "MNA2<int, String, bool>.foo\n", | 73 "MNA2<int, String, bool>.foo\n", |
| 73 new MNA2<int, String, bool>().foo()); | 74 new MNA2<int, String, bool>().foo()); |
| 74 Expect.equals("S<List<int>>.foo\n" | 75 Expect.equals("S<List<int>>.foo\n" |
| 75 "M<Map<int, String>>.foo\n" | 76 "M<Map<int, String>>.foo\n" |
| 76 "N<bool>.foo\n" | 77 "N<bool>.foo\n" |
| 77 "MNA3<int, String, bool>.foo\n", | 78 "MNA3<int, String, bool>.foo\n", |
| 78 new MNA3<int, String, bool>().foo()); | 79 new MNA3<int, String, bool>().foo()); |
| 79 } | 80 } |
| 80 | 81 |
| OLD | NEW |