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

Unified Diff: tests/language_2/generalized_void_syntax_test.dart

Issue 3008573002: Migrate test block 113 to Dart 2.0. (Closed)
Patch Set: Merge fixups Created 3 years, 4 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_2/gc_test.dart ('k') | tests/language_2/generic2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language_2/generalized_void_syntax_test.dart
diff --git a/tests/language/generalized_void_syntax_test.dart b/tests/language_2/generalized_void_syntax_test.dart
similarity index 96%
rename from tests/language/generalized_void_syntax_test.dart
rename to tests/language_2/generalized_void_syntax_test.dart
index 0222eb33c0265be82462639900db7cd4e2731afb..f18d69ac65a439602b6afcdbc18f3d0d4e41d4c8 100644
--- a/tests/language/generalized_void_syntax_test.dart
+++ b/tests/language_2/generalized_void_syntax_test.dart
@@ -68,7 +68,7 @@ class C extends A<void> with B<void, A<void>> {
// Ensure that all members are used, and use `void` in expressions.
void run() {
- var ignore = [
+ List<dynamic> ignore = [
x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, //
g1, g2, g3, g4,
];
@@ -96,7 +96,7 @@ class C extends A<void> with B<void, A<void>> {
// Testing syntax, just enforce compilation.
main() {
- var ignore = [x1, x2, x3, x4, x5, x6, x7, x8, g1, g2];
+ List<dynamic> ignore = [x1, x2, x3, x4, x5, x6, x7, x8, g1, g2];
s1 = null;
s2 = new A<void>(null);
« no previous file with comments | « tests/language_2/gc_test.dart ('k') | tests/language_2/generic2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698