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

Unified Diff: pkg/analyzer/test/services/data/stmt_tests.data

Issue 196983003: Fix handling of 'else if' statement blocks (dartbug.com/17363). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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 | « pkg/analyzer/lib/src/services/formatter_impl.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/services/data/stmt_tests.data
===================================================================
--- pkg/analyzer/test/services/data/stmt_tests.data (revision 33585)
+++ pkg/analyzer/test/services/data/stmt_tests.data (working copy)
@@ -166,4 +166,28 @@
<<<
for ( ; ; ) {
print('!');
+}
+>>>
+main() {
+ var zero = 0;
+ if (0 == 0) {
+ zero = 0;
+ } else if (0 == 1) {
+ zero = 1;
+ } else if (0 == 2) {
+ zero = 2;
+ }
+ print(0);
+}
+<<<
+main() {
+ var zero = 0;
+ if (0 == 0) {
+ zero = 0;
+ } else if (0 == 1) {
+ zero = 1;
+ } else if (0 == 2) {
+ zero = 2;
+ }
+ print(0);
}
« no previous file with comments | « pkg/analyzer/lib/src/services/formatter_impl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698