Index: tests/language/reify_typevar_static_test.dart |
diff --git a/tests/language/reify_typevar_static_test.dart b/tests/language/reify_typevar_static_test.dart |
index 8c547a44f36acc835421a838b543945e47d826e3..9fe3680a8865b9e86be691b15261612969dd9bc4 100644 |
--- a/tests/language/reify_typevar_static_test.dart |
+++ b/tests/language/reify_typevar_static_test.dart |
@@ -10,16 +10,17 @@ class C<T> { |
static staticFunction(bool b) => |
b ? T : // //# 00: compile-time error |
- null; |
+ null; |
factory C.factoryConstructor(bool b) => new C( |
b ? T : // //# 01: ok |
- null); |
+ null); |
C.redirectingConstructor(bool b) : this( |
b ? T : // //# 02: ok |
- null); |
- C.ordinaryConstructor(bool b) : x = |
+ null); |
+ C.ordinaryConstructor(bool b) |
+ : x = |
b ? T : // //# 03: ok |
- null; |
+ null; |
} |
main() { |