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

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

Issue 321513006: Formatter: keep a right parenthesis ')' with the last argument. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/analyzer/lib/src/services/formatter_impl.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 main() { 183 main() {
184 var zero = 0; 184 var zero = 0;
185 if (0 == 0) { 185 if (0 == 0) {
186 zero = 0; 186 zero = 0;
187 } else if (0 == 1) { 187 } else if (0 == 1) {
188 zero = 1; 188 zero = 1;
189 } else if (0 == 2) { 189 } else if (0 == 2) {
190 zero = 2; 190 zero = 2;
191 } 191 }
192 print(0); 192 print(0);
193 } 193 }
194 >>>
195 main() {
196 f(a, b) {}
197 f(0000000000000000000000000000000000000000000000000000000000000000000000, 111) ;
198 }
199 <<<
200 main() {
201 f(a, b) {}
202 f(0000000000000000000000000000000000000000000000000000000000000000000000,
203 111);
204 }
OLDNEW
« 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