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

Side by Side Diff: pkg/analyzer/test/services/data/stmt_tests.data

Issue 169283013: Support for removing empty statements (dartbug.com/16810). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 >>> 1 >>>
2 if (x && 2 if (x &&
3 y) { 3 y) {
4 print('!'); 4 print('!');
5 } 5 }
6 <<< 6 <<<
7 if (x && y) { 7 if (x && y) {
8 print('!'); 8 print('!');
9 } 9 }
10 >>> 10 >>>
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 >>> 140 >>>
141 var x = 3, y = 4; 141 var x = 3, y = 4;
142 <<< 142 <<<
143 var x = 3, 143 var x = 3,
144 y = 4; 144 y = 4;
145 >>> 145 >>>
146 var x = 2, y; 146 var x = 2, y;
147 <<< 147 <<<
148 var x = 2, 148 var x = 2,
149 y; 149 y;
150 >>> dartbug.com/16810 [Note: transforms are enabled]
151 void f() {
152 var a;;;
153 }
154 <<<
155 void f() {
156 var a;
157 }
158 >>>
159 while (true);
160 <<<
161 while (true);
162 >>>
163 for ( ; ; ) {
164 print('!');
165 }
166 <<<
167 for ( ; ; ) {
168 print('!');
169 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/services/formatter_impl.dart ('k') | pkg/analyzer/test/services/formatter_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698