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

Unified Diff: tests/compiler/dart2js/kernel/compile_from_dill_test.dart

Issue 2954663002: Handle break as continue (Closed)
Patch Set: Add comments Created 3 years, 6 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/compiler/dart2js/kernel/compile_from_dill_test.dart
diff --git a/tests/compiler/dart2js/kernel/compile_from_dill_test.dart b/tests/compiler/dart2js/kernel/compile_from_dill_test.dart
index 4c88712bb59de4001f45a79751118363bf8f78c7..17716c13f2363a175e3c5dfd6de7307559663f03 100644
--- a/tests/compiler/dart2js/kernel/compile_from_dill_test.dart
+++ b/tests/compiler/dart2js/kernel/compile_from_dill_test.dart
@@ -54,6 +54,7 @@ main() {
var z = x?.toString();
var w = x == null ? null : x.toString();
for (int i = 0; i < 10; i++) {
+ if (i == 5) continue;
x = i;
if (i == 5) break;
}

Powered by Google App Engine
This is Rietveld 408576698