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

Side by Side Diff: test/splitting/arguments.stmt

Issue 1252323003: Allow arguments before and after block-formatted functions. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Update pubspec and changelog. Created 5 years, 4 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
« no previous file with comments | « test/regression/other/analysis_server.unit ('k') | test/splitting/function_arguments.stmt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 40 columns | 1 40 columns |
2 >>> many arguments 2 >>> many arguments
3 method(first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, 3 method(first, second, third, fourth, fifth, sixth, seventh, eighth, ninth,
4 tenth, eleventh, twelfth); 4 tenth, eleventh, twelfth);
5 <<< 5 <<<
6 method( 6 method(
7 first, 7 first,
8 second, 8 second,
9 third, 9 third,
10 fourth, 10 fourth,
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 function([ 169 function([
170 element, 170 element,
171 element, 171 element,
172 element, 172 element,
173 element 173 element
174 ], { 174 ], {
175 'key': value, 175 'key': value,
176 'other key': value, 176 'other key': value,
177 'third key': value 177 'third key': value
178 }); 178 });
179 >>> non-body non-preceding argument forces all bodies to indent 179 >>> non-collection non-preceding argument forces all collections to indent
180 function([element, element, element, element], argument, 180 function([element, element, element, element], argument,
181 {'key': value, 'other key': value, 'third key': value}, () {;}); 181 {'key': value, 'other key': value, 'third key': value}, () {;});
182 <<< 182 <<<
183 function( 183 function(
184 [ 184 [
185 element, 185 element,
186 element, 186 element,
187 element, 187 element,
188 element 188 element
189 ], 189 ],
190 argument, 190 argument,
191 { 191 {
192 'key': value, 192 'key': value,
193 'other key': value, 193 'other key': value,
194 'third key': value 194 'third key': value
195 }, 195 }, () {
196 () { 196 ;
197 ; 197 });
198 });
OLDNEW
« no previous file with comments | « test/regression/other/analysis_server.unit ('k') | test/splitting/function_arguments.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698