| Index: tests/lib/mirrors/reflected_type_classes_test.dart
|
| diff --git a/tests/lib/mirrors/reflected_type_classes_test.dart b/tests/lib/mirrors/reflected_type_classes_test.dart
|
| index 4eeb3d8f29c412487853c9f2ddc45a9e0f5934d7..267e293cb5f5804bf92f1cde50739c851631d879 100644
|
| --- a/tests/lib/mirrors/reflected_type_classes_test.dart
|
| +++ b/tests/lib/mirrors/reflected_type_classes_test.dart
|
| @@ -10,7 +10,7 @@ import 'reflected_type_helper.dart';
|
|
|
| class A<T> {}
|
| class B extends A {}
|
| -class C extends A<num, int> {} /// 01: static type warning
|
| +class C extends A<num, int> {} //# 01: static type warning
|
| class D extends A<int> {}
|
| class E<S> extends A<S> {}
|
| class F<R> extends A<int> {}
|
| @@ -21,7 +21,7 @@ main() {
|
| // Declarations.
|
| expectReflectedType(reflectClass(A), null);
|
| expectReflectedType(reflectClass(B), B);
|
| - expectReflectedType(reflectClass(C), C); /// 01: continued
|
| + expectReflectedType(reflectClass(C), C); //# 01: continued
|
| expectReflectedType(reflectClass(D), D);
|
| expectReflectedType(reflectClass(E), null);
|
| expectReflectedType(reflectClass(F), null);
|
| @@ -31,7 +31,7 @@ main() {
|
| // Instantiations.
|
| expectReflectedType(reflect(new A()).type, new A().runtimeType);
|
| expectReflectedType(reflect(new B()).type, new B().runtimeType);
|
| - expectReflectedType(reflect(new C()).type, new C().runtimeType); /// 01: continued
|
| + expectReflectedType(reflect(new C()).type, new C().runtimeType); //# 01: continued
|
| expectReflectedType(reflect(new D()).type, new D().runtimeType);
|
| expectReflectedType(reflect(new E()).type, new E().runtimeType);
|
| expectReflectedType(reflect(new F()).type, new F().runtimeType);
|
| @@ -39,12 +39,12 @@ main() {
|
| expectReflectedType(reflect(new H()).type, new H().runtimeType);
|
|
|
| expectReflectedType(reflect(new A<num>()).type, new A<num>().runtimeType);
|
| - expectReflectedType(reflect(new B<num>()).type.superclass, /// 02: static type warning
|
| - new A<dynamic>().runtimeType); /// 02: continued
|
| - expectReflectedType(reflect(new C<num>()).type.superclass, /// 01: continued
|
| - new A<dynamic>().runtimeType); /// 01: continued
|
| - expectReflectedType(reflect(new D<num>()).type.superclass, /// 03: static type warning
|
| - new A<int>().runtimeType); /// 03: continued
|
| + expectReflectedType(reflect(new B<num>()).type.superclass, //# 02: static type warning
|
| + new A<dynamic>().runtimeType); //# 02: continued
|
| + expectReflectedType(reflect(new C<num>()).type.superclass, //# 01: continued
|
| + new A<dynamic>().runtimeType); //# 01: continued
|
| + expectReflectedType(reflect(new D<num>()).type.superclass, //# 03: static type warning
|
| + new A<int>().runtimeType); //# 03: continued
|
| expectReflectedType(reflect(new E<num>()).type, new E<num>().runtimeType);
|
| expectReflectedType(reflect(new E<num>()).type.superclass,
|
| new A<num>().runtimeType);
|
|
|