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

Unified Diff: pkg/analyzer/test/generated/all_the_rest_test.dart

Issue 2002353003: Don't short circuit visiting else (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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 | « pkg/analyzer/lib/src/generated/resolver.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/all_the_rest_test.dart
diff --git a/pkg/analyzer/test/generated/all_the_rest_test.dart b/pkg/analyzer/test/generated/all_the_rest_test.dart
index 04481ef7042266613f92abcdc70a153b9ffee23c..c01ed0b03b5f083b124ead1acd302bc892ba0ed1 100644
--- a/pkg/analyzer/test/generated/all_the_rest_test.dart
+++ b/pkg/analyzer/test/generated/all_the_rest_test.dart
@@ -3531,6 +3531,10 @@ class ExitDetectorTest extends ParserTestCase {
_assertFalse("for (;;) { break; }");
}
+ void test_forStatement_implicitTrue_if_break() {
srawlins 2016/05/24 01:23:05 This test fails at HEAD.
+ _assertFalse("{ for (;;) { if (1==2) { var a = 1; } else { break; } } }");
+ }
+
void test_forStatement_initialization() {
_assertTrue("for (i = throw 0;;) {}");
}
« no previous file with comments | « pkg/analyzer/lib/src/generated/resolver.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698