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

Side by Side Diff: packages/dart_style/test/comments/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 >>> trailing line comment after split 2 >>> trailing line comment after split
3 someMethod(argument1, argument2, // comment 3 someMethod(argument1, argument2, // comment
4 argument3); 4 argument3);
5 <<< 5 <<<
6 someMethod( 6 someMethod(
7 argument1, 7 argument1,
8 argument2, // comment 8 argument2, // comment
9 argument3); 9 argument3);
10 >>> trailing line comment after non-split 10 >>> trailing line comment after non-split
(...skipping 15 matching lines...) Expand all
26 <<< 26 <<<
27 foo(1 /* bang */, 2); 27 foo(1 /* bang */, 2);
28 >>> no space between "(" and ")" and block comment 28 >>> no space between "(" and ")" and block comment
29 foo( /* */ ) {} 29 foo( /* */ ) {}
30 <<< 30 <<<
31 foo(/* */) {} 31 foo(/* */) {}
32 >>> space on left between block comment and "," 32 >>> space on left between block comment and ","
33 foo(1,/* a */ 2 /* b */ , 3); 33 foo(1,/* a */ 2 /* b */ , 3);
34 <<< 34 <<<
35 foo(1, /* a */ 2 /* b */, 3); 35 foo(1, /* a */ 2 /* b */, 3);
36 >>> block comment after comma follows later arg
37 foo(arg, /* comment */ arg, /* comment */ arg, /* comment */ arg, /* comment */ arg);
38 <<<
39 foo(
40 arg,
41 /* comment */ arg,
42 /* comment */ arg,
43 /* comment */ arg,
44 /* comment */ arg);
36 >>> space between block comment and other tokens 45 >>> space between block comment and other tokens
37 var/**/a/**/=/**/1/**/+/**/2; 46 var/**/a/**/=/**/1/**/+/**/2;
38 <<< 47 <<<
39 var /**/ a /**/ = /**/ 1 /**/ + /**/ 2; 48 var /**/ a /**/ = /**/ 1 /**/ + /**/ 2;
40 >>> preserve space before comment in expression 49 >>> preserve space before comment in expression
41 foo && 50 foo &&
42 51
43 // comment 52 // comment
44 bar; 53 bar;
45 <<< 54 <<<
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 } 88 }
80 >>> force named args to split on line comment in positional 89 >>> force named args to split on line comment in positional
81 function(argument, // 90 function(argument, //
82 argument, named: argument, another: argument); 91 argument, named: argument, another: argument);
83 <<< 92 <<<
84 function( 93 function(
85 argument, // 94 argument, //
86 argument, 95 argument,
87 named: argument, 96 named: argument,
88 another: argument); 97 another: argument);
OLDNEW
« no previous file with comments | « packages/dart_style/test/command_line_test.dart ('k') | packages/dart_style/test/comments/functions.unit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698