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

Side by Side Diff: packages/dart_style/test/splitting/members.unit

Issue 1521693002: Roll Observatory deps (charted -> ^0.3.0) (Closed) Base URL: https://chromium.googlesource.com/external/github.com/dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years 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 >>> prefers to wrap at => before params 2 >>> prefers to wrap at => before params
3 class Foo { 3 class Foo {
4 Stream methodName(AssetId id) => methodBodyHereItIs; 4 Stream methodName(AssetId id) => methodBodyHereItIs;
5 } 5 }
6 <<< 6 <<<
7 class Foo { 7 class Foo {
8 Stream methodName(AssetId id) => 8 Stream methodName(AssetId id) =>
9 methodBodyHereItIs; 9 methodBodyHereItIs;
10 }
11 >>> can split on getter
12 class Foo {
13 VeryLongTypeAnnotation get veryLongGetter => null;
14 }
15 <<<
16 class Foo {
17 VeryLongTypeAnnotation
18 get veryLongGetter => null;
19 }
20 >>> can split on setter
21 class Foo {
22 VeryLongTypeAnnotation set veryLongSetter(v) {}
23 }
24 <<<
25 class Foo {
26 VeryLongTypeAnnotation
27 set veryLongSetter(v) {}
10 } 28 }
OLDNEW
« no previous file with comments | « packages/dart_style/test/splitting/loops.stmt ('k') | packages/dart_style/test/splitting/mixed.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698