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

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

Issue 170403004: Fix to ensure decls with initializers get their own lines (dartbug.com/16849). (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
« 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 <<< 126 <<<
127 void main() {} 127 void main() {}
128 >>> 128 >>>
129 void main() { 129 void main() {
130 130
131 } 131 }
132 <<< 132 <<<
133 void main() { 133 void main() {
134 134
135 } 135 }
136 >>> Decls with initializers get their own lines (dartbug.com/16849)
137 var x, y;
138 <<<
139 var x, y;
140 >>>
141 var x = 3, y = 4;
142 <<<
143 var x = 3,
144 y = 4;
145 >>>
146 var x = 2, y;
147 <<<
148 var x = 2,
149 y;
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