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

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

Issue 2526633002: Support generic methods. Fix #556. (Closed)
Patch Set: Merge branch 'master' into generic-methods Created 4 years, 1 month 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/splitting/generic_method_arguments.stmt ('k') | test/whitespace/expressions.stmt » ('j') | 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 >>> all fit on one line 2 >>> all fit on one line
3 new Foo<A,B,C,D>(); 3 new Foo<A,B,C,D>();
4 <<< 4 <<<
5 new Foo<A, B, C, D>(); 5 new Foo<A, B, C, D>();
6 >>> prefer to split between args even when they all fit on next line 6 >>> prefer to split between args even when they all fit on next line
7 new LongClassName<First, Second, Third>(); 7 new LongClassName<First, Second, Third>();
8 <<< 8 <<<
9 new LongClassName<First, Second, 9 new LongClassName<First, Second,
10 Third>(); 10 Third>();
(...skipping 17 matching lines...) Expand all
28 Fourth, 28 Fourth,
29 Fifth, 29 Fifth,
30 Sixth, 30 Sixth,
31 Seventh, 31 Seventh,
32 Eighth>(); 32 Eighth>();
33 >>> prefers to not split at type arguments 33 >>> prefers to not split at type arguments
34 new SomeClass< 34 new SomeClass<
35 TypeArgument>(valueArgument); 35 TypeArgument>(valueArgument);
36 <<< 36 <<<
37 new SomeClass<TypeArgument>( 37 new SomeClass<TypeArgument>(
38 valueArgument); 38 valueArgument);
39 >>> split both type and value arguments
40 new SomeClass<First, Second, Third, Fourth, Fifth, Sixth, Seventh, Eighth>(first , second, third, fourth, fifth, sixth, seventh, eighth);
41 <<<
42 new SomeClass<
43 First,
44 Second,
45 Third,
46 Fourth,
47 Fifth,
48 Sixth,
49 Seventh,
50 Eighth>(
51 first,
52 second,
53 third,
54 fourth,
55 fifth,
56 sixth,
57 seventh,
58 eighth);
OLDNEW
« no previous file with comments | « test/splitting/generic_method_arguments.stmt ('k') | test/whitespace/expressions.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698