Chromium Code Reviews| 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 934ada1a78f6940479d4389798d9203961490465..0b0172b3230102e3f183088fcd60e002bb3e6d6c 100644 |
| --- a/tests/language/type_variable_scope_test.dart |
| +++ b/tests/language/type_variable_scope_test.dart |
| @@ -8,11 +8,11 @@ class Foo<T> { |
| Foo() { } |
| static |
| - Foo<T> /// 00: dynamic type error |
| + Foo<T> /// 00: compile-time error |
|
ahe
2012/10/23 11:34:58
Same as previous test, I would like to see a speci
|
| 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>(); |
| } |
| @@ -22,14 +22,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) {} |
| } |