| Index: tests/lib/mirrors/redirecting_factory_test.dart
|
| ===================================================================
|
| --- tests/lib/mirrors/redirecting_factory_test.dart (revision 27561)
|
| +++ tests/lib/mirrors/redirecting_factory_test.dart (working copy)
|
| @@ -42,7 +42,9 @@
|
| Class<String, int>.factoryNoOptional;
|
|
|
| factory Class.redirectingFactoryStringTypeParameters(a, b) =
|
| - Class<String>.factoryNoOptional;
|
| + Class
|
| + <String> /// 02: static type warning
|
| + .factoryNoOptional;
|
|
|
| factory Class.redirectingFactoryTypeParameters(a, b) =
|
| Class<T1, T2>.factoryNoOptional;
|
| @@ -106,7 +108,7 @@
|
| new Map()..[const Symbol('b')] = 1);
|
| Expect.equals(40, instanceMirror.reflectee.field);
|
|
|
| - classMirror = reflect(new Class<String, int>()).type;
|
| + classMirror = reflect(new Class<String, int>(42)).type;
|
| instanceMirror = classMirror.newInstance(
|
| const Symbol('redirectingFactoryTypeParameters'), [43, 1]);
|
| Expect.equals(42, instanceMirror.reflectee.field);
|
|
|