| Index: tests/lib/mirrors/reflected_type_test.dart
|
| diff --git a/tests/lib/mirrors/reflected_type_test.dart b/tests/lib/mirrors/reflected_type_test.dart
|
| index 84e7468dc35582e8c88a95cacaa22cffda91594f..beba03897b903c482874811355759eb3b07a7590 100644
|
| --- a/tests/lib/mirrors/reflected_type_test.dart
|
| +++ b/tests/lib/mirrors/reflected_type_test.dart
|
| @@ -10,7 +10,7 @@ import 'package:expect/expect.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> {}
|
| @@ -43,7 +43,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);
|
| @@ -53,7 +53,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);
|
| @@ -61,12 +61,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);
|
|
|