| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 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 | 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 | 4 |
| 5 library test.parameter_of_mixin_app_constructor; | 5 library test.parameter_of_mixin_app_constructor; |
| 6 | 6 |
| 7 @MirrorsUsed(targets: "test.parameter_of_mixin_app_constructor") |
| 7 import 'dart:mirrors'; | 8 import 'dart:mirrors'; |
| 8 import 'stringify.dart'; | 9 import 'stringify.dart'; |
| 9 | 10 |
| 10 class MapView { | 11 class MapView { |
| 11 final _map; | 12 final _map; |
| 12 MapView(map) : this._map = map; | 13 MapView(map) : this._map = map; |
| 13 } | 14 } |
| 14 | 15 |
| 15 abstract class UnmodifiableMapMixin { | 16 abstract class UnmodifiableMapMixin { |
| 16 someFunctionality() {} | 17 someFunctionality() {} |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 ' final, type = Type(s(dynamic), top-level))]', | 86 ' final, type = Type(s(dynamic), top-level))]', |
| 86 soleConstructorOf(mp.superclass.superclass).parameters); | 87 soleConstructorOf(mp.superclass.superclass).parameters); |
| 87 expect('[Parameter(s(p1) in s(S),' | 88 expect('[Parameter(s(p1) in s(S),' |
| 88 ' type = Class(s(int) in s(dart.core), top-level)),' | 89 ' type = Class(s(int) in s(dart.core), top-level)),' |
| 89 ' Parameter(s(p2) in s(S),' | 90 ' Parameter(s(p2) in s(S),' |
| 90 ' type = Class(s(String) in s(dart.core), top-level))]', | 91 ' type = Class(s(String) in s(dart.core), top-level))]', |
| 91 soleConstructorOf(mp.superclass.superclass.superclass).parameters); | 92 soleConstructorOf(mp.superclass.superclass.superclass).parameters); |
| 92 expect('[]', | 93 expect('[]', |
| 93 soleConstructorOf(mp.superclass.superclass.superclass.superclass).param
eters); | 94 soleConstructorOf(mp.superclass.superclass.superclass.superclass).param
eters); |
| 94 } | 95 } |
| OLD | NEW |