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

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

Issue 843653005: Increase nesting in conditional expressions. Fix #122. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 5 years, 11 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/122.unit ('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 40 columns | 1 40 columns |
2 >>> space-separated adjacent strings are not split 2 >>> space-separated adjacent strings are not split
3 var name = new Symbol("the first string" "the second string"); 3 var name = new Symbol("the first string" "the second string");
4 <<< 4 <<<
5 var name = new Symbol( 5 var name = new Symbol(
6 "the first string" "the second string"); 6 "the first string" "the second string");
7 >>> preserve one newline between adjacent strings 7 >>> preserve one newline between adjacent strings
8 var name = "the first string" 8 var name = "the first string"
9 "the second string" 9 "the second string"
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 <<< 86 <<<
87 (identifier * 87 (identifier *
88 (identifier * identifier) * 88 (identifier * identifier) *
89 identifier); 89 identifier);
90 >>> nested parenthesized are indented more 90 >>> nested parenthesized are indented more
91 (identifier * (verylongIdentifier * verylongIdentifier) * identifier); 91 (identifier * (verylongIdentifier * verylongIdentifier) * identifier);
92 <<< 92 <<<
93 (identifier * 93 (identifier *
94 (verylongIdentifier * 94 (verylongIdentifier *
95 verylongIdentifier) * 95 verylongIdentifier) *
96 identifier); 96 identifier);
97 >>> conditional operands are nested
98 identifier ? identifier ? someParticularlyLongOperand : someParticularlyLongOper and : identifier ? someParticularlyLongOperand : someParticularlyLongOperand;
99 <<<
100 identifier ?
101 identifier ?
102 someParticularlyLongOperand :
103 someParticularlyLongOperand :
104 identifier ?
105 someParticularlyLongOperand :
106 someParticularlyLongOperand;
pquitslund 2015/01/09 18:59:12 Please shoot me if you ever see me write code like
OLDNEW
« no previous file with comments | « test/regression/122.unit ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698