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

Side by Side Diff: test/regression/144.unit

Issue 889943004: Indent the parameter list more if the body is a wrapped "=>". Fix #144. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Update changelog. Created 5 years, 10 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 | « lib/src/source_visitor.dart ('k') | test/splitting/constructors.unit » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 >>>
2 class Selector {
3 factory Selector.call(String name,
4 LibraryElement library,
5 int arity,
6 [List<String> namedArguments])
7 => new Selector(SelectorKind.CALL, name, library, arity, namedArguments);
8 }
9 <<<
10 class Selector {
11 factory Selector.call(String name, LibraryElement library, int arity,
12 [List<String> namedArguments]) =>
13 new Selector(SelectorKind.CALL, name, library, arity, namedArguments);
14 }
15 >>> a knock-on issue caused by the initial fix for the above
16 class Foo {
17 get getter => "result";
18
19 // Comment.
20 }
21 <<<
22 class Foo {
23 get getter => "result";
24
25 // Comment.
26 }
OLDNEW
« no previous file with comments | « lib/src/source_visitor.dart ('k') | test/splitting/constructors.unit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698