Index: tests/language/new_expression_type_args_test.dart |
diff --git a/tests/language/new_expression_type_args_test.dart b/tests/language/new_expression_type_args_test.dart |
index 3f298f420ce07c89968bdc12704a1580d250fafc..60c8032555268954693178b03bb70d5dba52bf6d 100644 |
--- a/tests/language/new_expression_type_args_test.dart |
+++ b/tests/language/new_expression_type_args_test.dart |
@@ -5,8 +5,8 @@ |
// Tests showing errors using type-arguments in new expressions: |
class A<T> { |
// Can't instantiate type parameter (within static or instance method). |
- m1() => new T(); /// 00: static type warning, runtime error |
- static m2() => new T(); /// 01: static type warning, runtime error |
+ m1() => new T(); // /// 00: static type warning, runtime error |
+ static m2() => new T(); // /// 01: static type warning, runtime error |
// OK when used within instance method, but not in static method. |
m3() => new A<T>(); |