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

Unified Diff: tests/language/type_variable_conflict_test.dart

Issue 2774783002: Re-land "Format all multitests" (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
« no previous file with comments | « tests/language/type_variable_bounds_test.dart ('k') | tests/language/type_variable_scope3_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/type_variable_conflict_test.dart
diff --git a/tests/language/type_variable_conflict_test.dart b/tests/language/type_variable_conflict_test.dart
index 8cb3cb14ee00143476b7058d6b30e4186060e590..06cd2f791c6b17a52a9466281a1027f50bade458 100644
--- a/tests/language/type_variable_conflict_test.dart
+++ b/tests/language/type_variable_conflict_test.dart
@@ -10,18 +10,23 @@ import "package:expect/expect.dart";
class G1<T> {
var T; // //# 01: compile-time error
}
+
class G2<T> {
get T {} // //# 02: compile-time error
}
+
class G3<T> {
T() {} // //# 03: compile-time error
}
+
class G4<T> {
static var T; // //# 04: compile-time error
}
+
class G5<T> {
static get T {} // //# 05: compile-time error
}
+
class G6<T> {
static T() {} // //# 06: compile-time error
}
« no previous file with comments | « tests/language/type_variable_bounds_test.dart ('k') | tests/language/type_variable_scope3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698