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

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

Issue 2990843002: Removed fixed dependencies (Closed)
Patch Set: Created 3 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
OLDNEW
1 40 columns | 1 40 columns |
2 >>> space-separated adjacent strings are not split if they fit 2 >>> space-separated adjacent strings are not split if they fit
3 var name = new Symbol("the first string" "the second"); 3 var name = new Symbol("the first string" "the second");
4 <<< 4 <<<
5 var name = new Symbol( 5 var name = new Symbol(
6 "the first string" "the second"); 6 "the first string" "the second");
7 >>> space-separated adjacent strings are split if they don't fit 7 >>> space-separated adjacent strings are split if they don't fit
8 var name = new Symbol("the first very long string" "the second very longstring") ; 8 var name = new Symbol("the first very long string" "the second very longstring") ;
9 <<< 9 <<<
10 var name = new Symbol( 10 var name = new Symbol(
(...skipping 26 matching lines...) Expand all
37 identifier || 37 identifier ||
38 identifier || 38 identifier ||
39 identifier) {} 39 identifier) {}
40 >>> conditions, different operators 40 >>> conditions, different operators
41 if (identifier && identifier || identifier 41 if (identifier && identifier || identifier
42 && identifier) { 42 && identifier) {
43 } 43 }
44 <<< 44 <<<
45 if (identifier && identifier || 45 if (identifier && identifier ||
46 identifier && identifier) {} 46 identifier && identifier) {}
47 >>> split conditional because condition doesn't fit
48 var kind = longElement != otherLongElement ? longArgument : arg;
49 <<<
50 var kind =
51 longElement != otherLongElement
52 ? longArgument
53 : arg;
54 >>> split conditional because condition splits
55 var kind = longElement != otherReallyLongElement ? longArgument : arg;
56 <<<
57 var kind = longElement !=
58 otherReallyLongElement
59 ? longArgument
60 : arg;
47 >>> split conditional because then doesn't fit 61 >>> split conditional because then doesn't fit
48 var kind = element != null ? longArgument : arg; 62 var kind = element != null ? longArgument : arg;
49 <<< 63 <<<
50 var kind = element != null 64 var kind = element != null
51 ? longArgument 65 ? longArgument
52 : arg; 66 : arg;
53 >>> split conditional because else doesn't fit 67 >>> split conditional because else doesn't fit
54 var kind = element != null ? argument : secondArgumentThatIsReallyLong; 68 var kind = element != null ? argument : secondArgumentThatIsReallyLong;
55 <<< 69 <<<
56 var kind = element != null 70 var kind = element != null
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 <<< 146 <<<
133 identifier && 147 identifier &&
134 identifier && 148 identifier &&
135 identifier && 149 identifier &&
136 identifier; 150 identifier;
137 >>> "." in named constructor 151 >>> "." in named constructor
138 new VeryLongClassName.veryLongNamedConstructor(); 152 new VeryLongClassName.veryLongNamedConstructor();
139 <<< 153 <<<
140 new VeryLongClassName 154 new VeryLongClassName
141 .veryLongNamedConstructor(); 155 .veryLongNamedConstructor();
OLDNEW
« no previous file with comments | « packages/dart_style/test/splitting/arguments.stmt ('k') | packages/dart_style/test/splitting/function_arguments.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698