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

Side by Side Diff: test/regression/187.stmt

Issue 1191833002: Split after "=>" if the parameters split. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 5 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
« no previous file with comments | « test/regression/108.unit ('k') | test/regression/250.unit » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 >>> (indent 2) 1 >>> (indent 2)
2 String someComplicatedHelpMessage(String numberInputFieldPlaceholder, 2 String someComplicatedHelpMessage(String numberInputFieldPlaceholder,
3 String timeUnitDropdownPlaceholder) => Intl.message( 3 String timeUnitDropdownPlaceholder) => Intl.message(
4 'Deflagrate the persimmon to $numberInputFieldPlaceholder golgafrinc hans per' 4 'Deflagrate the persimmon to $numberInputFieldPlaceholder golgafrinc hans per'
5 '$timeUnitDropdownPlaceholder maximum, unless we say otherwise', 5 '$timeUnitDropdownPlaceholder maximum, unless we say otherwise',
6 name: 'someComplicatedHelpMessage', 6 name: 'someComplicatedHelpMessage',
7 args: [numberInputFieldPlaceholder, timeUnitDropdownPlaceholder], 7 args: [numberInputFieldPlaceholder, timeUnitDropdownPlaceholder],
8 examples: { 8 examples: {
9 'numberInputFieldPlaceholder': '3', 9 'numberInputFieldPlaceholder': '3',
10 'timeUnitDropdownPlaceholder': 'per light-year' 10 'timeUnitDropdownPlaceholder': 'per light-year'
11 }, 11 },
12 desc: 'Some very long descriptive text that actually isn\'t obeying the. ..'); 12 desc: 'Some very long descriptive text that actually isn\'t obeying the. ..');
13 <<< 13 <<<
14 String someComplicatedHelpMessage(String numberInputFieldPlaceholder, 14 String someComplicatedHelpMessage(String numberInputFieldPlaceholder,
15 String timeUnitDropdownPlaceholder) => Intl.message( 15 String timeUnitDropdownPlaceholder) =>
16 Intl.message(
16 'Deflagrate the persimmon to $numberInputFieldPlaceholder golgafrincha ns per' 17 'Deflagrate the persimmon to $numberInputFieldPlaceholder golgafrincha ns per'
17 '$timeUnitDropdownPlaceholder maximum, unless we say otherwise', 18 '$timeUnitDropdownPlaceholder maximum, unless we say otherwise',
18 name: 'someComplicatedHelpMessage', 19 name: 'someComplicatedHelpMessage',
19 args: [numberInputFieldPlaceholder, timeUnitDropdownPlaceholder], 20 args: [numberInputFieldPlaceholder, timeUnitDropdownPlaceholder],
20 examples: { 21 examples: {
21 'numberInputFieldPlaceholder': '3', 22 'numberInputFieldPlaceholder': '3',
22 'timeUnitDropdownPlaceholder': 'per light-year' 23 'timeUnitDropdownPlaceholder': 'per light-year'
23 }, 24 },
24 desc: 'Some very long descriptive text that actually isn\'t obeying th e...'); 25 desc: 'Some very long descriptive text that actually isn\'t obeying th e...');
OLDNEW
« no previous file with comments | « test/regression/108.unit ('k') | test/regression/250.unit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698