Index: tests/language/type_variable_scope2_test.dart |
diff --git a/tests/language/type_variable_scope2_test.dart b/tests/language/type_variable_scope2_test.dart |
index 1c039142f223ac7f69373bd785c14db3c23a51bb..d036804f44d7637c5ac5f6f828ff8bee2bae6684 100644 |
--- a/tests/language/type_variable_scope2_test.dart |
+++ b/tests/language/type_variable_scope2_test.dart |
@@ -16,7 +16,9 @@ isCheckedMode() { |
class Foo<T> { |
// T is not in scope for a static method. |
- static Foo<T> m() { |
+ static Foo |
+ <T> /// 01: compile-time error |
+ m() { |
return new Foo(); |
} |
} |