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

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

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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
(Empty)
1 40 columns |
2 >>> initializer doesn't fit one line, wrap inside, keep name
3 var result = myFunction(argument * argument, argument * argument);
4 <<<
5 var result = myFunction(
6 argument * argument,
7 argument * argument);
8 >>> initializer doesn't fit one line, wrap inside, keep name
9 result = myFunction(argument, argument, argument, argument);
10 <<<
11 result = myFunction(argument, argument,
12 argument, argument);
13 >>> wrapped initializer fits one line
14 variable = longFunctionIsLoooooong(argument);
15 <<<
16 variable =
17 longFunctionIsLoooooong(argument);
18 >>> initializer doesn't fit one line, name too long
19 variable = longFunctionIsLooooooooooooooong(argument, argument);
20 <<<
21 variable =
22 longFunctionIsLooooooooooooooong(
23 argument, argument);
24 >>> initializer doesn't fit one line, cannot be split
25 variableName = thisIsReallyQuiteAVeryLongVariableName;
26 <<<
27 variableName =
28 thisIsReallyQuiteAVeryLongVariableName;
29 >>> long function call initializer
30 variableName = functionName(first, second);
31 <<<
32 variableName =
33 functionName(first, second);
34 >>> long binary expression initializer
35 variableName = argument * argument + argument;
36 <<<
37 variableName =
38 argument * argument + argument;
OLDNEW
« no previous file with comments | « packages/dart_style/test/splitting/arrows.unit ('k') | packages/dart_style/test/splitting/classes.unit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698