| Index: dart/tests/language/type_parameter_test.dart
|
| ===================================================================
|
| --- dart/tests/language/type_parameter_test.dart (revision 29908)
|
| +++ dart/tests/language/type_parameter_test.dart (working copy)
|
| @@ -17,28 +17,28 @@
|
| }
|
|
|
| static
|
| - T /// 01: static type warning
|
| + T /// 01: static type warning, dynamic type error
|
| staticMethod(
|
| - T /// 02: static type warning
|
| + T /// 02: static type warning, dynamic type error
|
| a) {
|
| final
|
| - T /// 03: static type warning
|
| + T /// 03: static type warning, dynamic type error
|
| a = "not_null";
|
| print(a);
|
| return a;
|
| }
|
|
|
| static final
|
| - T /// 04: static type warning
|
| + T /// 04: static type warning, dynamic type error
|
| staticFinalField = "not_null";
|
|
|
| static const
|
| - T /// 05: static type warning
|
| + T /// 05: static type warning, dynamic type error
|
| staticConstField = "not_null";
|
|
|
| static not_null() => "not_null";
|
| static final
|
| - T /// 06: static type warning
|
| + T /// 06: static type warning, dynamic type error
|
| staticFinalField2 = not_null();
|
|
|
| // Assigning null to a malformed type is not a dynamic error.
|
|
|