Index: tests/lib_strong/mirrors/generic_superclass_test.dart |
diff --git a/tests/lib_strong/mirrors/generic_superclass_test.dart b/tests/lib_strong/mirrors/generic_superclass_test.dart |
index a0a7e03ba5f2d2376cbbada8242a2168fb6a7533..9c4ea678a4350fcc7d924b2fd62ee465e2705a80 100644 |
--- a/tests/lib_strong/mirrors/generic_superclass_test.dart |
+++ b/tests/lib_strong/mirrors/generic_superclass_test.dart |
@@ -5,17 +5,26 @@ |
import 'package:expect/expect.dart'; |
import 'dart:mirrors'; |
- |
class A<T> {} |
-class B extends A<U>{} |
+ |
+class B extends A<U> {} |
+ |
class C extends A<C> {} |
+ |
class D<T> extends A<T> {} |
-class E<X,Y> extends G<H<Y>> {} |
+ |
+class E<X, Y> extends G<H<Y>> {} |
+ |
class F<X> implements A<X> {} |
-class FF<X,Y> implements G<H<Y>> {} |
+ |
+class FF<X, Y> implements G<H<Y>> {} |
+ |
class G<T> {} |
+ |
class H<T> {} |
+ |
class U {} |
+ |
class R {} |
void testOriginals() { |
@@ -66,9 +75,9 @@ void testInstances() { |
ClassMirror b = reflect(new B()).type; |
ClassMirror c = reflect(new C()).type; |
ClassMirror d = reflect(new D<U>()).type; |
- ClassMirror e = reflect(new E<U,R>()).type; |
- ClassMirror e0 = reflect(new E<U,H<R>>()).type; |
- ClassMirror ff = reflect(new FF<U,R>()).type; |
+ ClassMirror e = reflect(new E<U, R>()).type; |
+ ClassMirror e0 = reflect(new E<U, H<R>>()).type; |
+ ClassMirror ff = reflect(new FF<U, R>()).type; |
ClassMirror f = reflect(new F<U>()).type; |
ClassMirror u = reflect(new U()).type; |
ClassMirror r = reflect(new R()).type; |
@@ -117,4 +126,4 @@ main() { |
testOriginals(); |
testInstances(); |
testObject(); |
-} |
+} |