Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: tests/language/type_variable_scope_test.dart

Issue 2765693002: Update all tests (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 cfc770d80a0d83f98b8bdfbd65a3556d8eb1d10a..04ee6eace2a2db635668b72a366929252145362e 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: 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;
}

Powered by Google App Engine
This is Rietveld 408576698