Index: tests/language/type_variable_scope_test.dart |
diff --git a/tests/language/type_variable_scope_test.dart b/tests/language/type_variable_scope_test.dart |
index 3a3aa8e7d0a198006d6d2521e9ad108e61accd7a..47957fa074418378f0cb315aba6f7c98ee0bdd8a 100644 |
--- a/tests/language/type_variable_scope_test.dart |
+++ b/tests/language/type_variable_scope_test.dart |
@@ -9,11 +9,11 @@ class Foo<T> { |
// T is not in scope for a static method. |
static |
- Foo<T> /// 00: dynamic type error |
+ Foo<T> /// 00: compile-time error |
m( |
- Foo<T> /// 01: dynamic type error |
+ Foo<T> /// 01: compile-time error |
f) { |
- Foo<T> x = new Foo<String>(); /// 02: dynamic type error |
+ Foo<T> x = new Foo<String>(); /// 02: compile-time error |
return new Foo<String>(); |
} |
@@ -23,14 +23,14 @@ class Foo<T> { |
} |
// T is not in scope for a static field. |
- static Foo<T> f1; /// 03: dynamic type error |
+ static Foo<T> f1; /// 03: compile-time error |
static |
- Foo<T> /// 04: dynamic type error |
+ Foo<T> /// 04: compile-time error |
get f { return new Foo<String>(); } |
static void set f( |
- Foo<T> /// 05: dynamic type error |
+ Foo<T> /// 05: compile-time error |
value) {} |
} |