| 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 | 4 |
| 5 import 'dart:mirrors'; | 5 import 'dart:mirrors'; |
| 6 import 'package:expect/expect.dart'; | 6 import 'package:expect/expect.dart'; |
| 7 | 7 |
| 8 import 'stringify.dart'; | 8 import 'stringify.dart'; |
| 9 | 9 |
| 10 class A<T> { | 10 class A<T> { |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 'constructors'); | 74 'constructors'); |
| 75 | 75 |
| 76 Expect.setEquals( | 76 Expect.setEquals( |
| 77 ['TypeVariable(s(T) in s(A), upperBound = Class(s(Object) in ' | 77 ['TypeVariable(s(T) in s(A), upperBound = Class(s(Object) in ' |
| 78 's(dart.core), top-level))'], | 78 's(dart.core), top-level))'], |
| 79 cm.declarations.values | 79 cm.declarations.values |
| 80 .where((dm) => dm is TypeVariableMirror).map(stringify), | 80 .where((dm) => dm is TypeVariableMirror).map(stringify), |
| 81 'type variables'); | 81 'type variables'); |
| 82 | 82 |
| 83 } | 83 } |
| OLD | NEW |