| Index: tests/language_strong/type_variable_scope_test.dart
|
| diff --git a/tests/language_strong/type_variable_scope_test.dart b/tests/language_strong/type_variable_scope_test.dart
|
| index cfc770d80a0d83f98b8bdfbd65a3556d8eb1d10a..04ee6eace2a2db635668b72a366929252145362e 100644
|
| --- a/tests/language_strong/type_variable_scope_test.dart
|
| +++ b/tests/language_strong/type_variable_scope_test.dart
|
| @@ -8,11 +8,11 @@ class Foo<T> {
|
| Foo() { }
|
|
|
| static
|
| - Foo<T> /// 00: static type warning
|
| + Foo<T> //# 00: static type warning
|
| m(
|
| - Foo<T> /// 01: static type warning
|
| + Foo<T> //# 01: static type warning
|
| f) {
|
| - Foo<T> x = new Foo<String>(); /// 02: static type warning
|
| + Foo<T> x = new Foo<String>(); //# 02: static type warning
|
| 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: static type warning
|
| + static Foo<T> f1; //# 03: static type warning
|
|
|
| static
|
| - Foo<T> /// 04: static type warning
|
| + Foo<T> //# 04: static type warning
|
| get f { return new Foo<String>(); }
|
|
|
| static void set f(
|
| - Foo<T> /// 05: static type warning
|
| + Foo<T> //# 05: static type warning
|
| value) {}
|
| }
|
|
|
| @@ -40,7 +40,7 @@ abstract class I<T> {
|
| main() {
|
| Foo.m(new Foo<String>());
|
| new I(new Foo<String>());
|
| - Foo.f1 = new Foo<String>(); /// 03: continued
|
| + Foo.f1 = new Foo<String>(); //# 03: continued
|
| var x = Foo.f;
|
| Foo.f = x;
|
| }
|
|
|