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

Side by Side Diff: packages/dart_style/test/whitespace/methods.unit

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 >>> 2 >>>
3 class A {void x(){}} 3 class A {void x(){}}
4 <<< 4 <<<
5 class A { 5 class A {
6 void x() {} 6 void x() {}
7 } 7 }
8 >>> 8 >>>
9 class A{static bool x(){return true;}} 9 class A{static bool x(){return true;}}
10 <<< 10 <<<
(...skipping 16 matching lines...) Expand all
27 return file; 27 return file;
28 } 28 }
29 } 29 }
30 <<< 30 <<<
31 class A { 31 class A {
32 foo(path) { 32 foo(path) {
33 var buffer = new StringBuffer(); 33 var buffer = new StringBuffer();
34 var file = new File(path); 34 var file = new File(path);
35 return file; 35 return file;
36 } 36 }
37 }
38 >>> covariant (skip: published version of analyzer doesn't support 'covariant ye t')
39 class A {
40 pos( covariant int a,covariant b );
41 opt([ covariant int a,covariant b ]);
42 named({ covariant int a,covariant b });
43 fn( covariant int f(bool b));
44 }
45 <<<
46 class A {
47 pos(covariant int a, covariant b);
48 opt([covariant int a, covariant b]);
49 named({covariant int a, covariant b});
50 fn(covariant int f(bool b));
51 }
52 >>> covariant in initializing formal (not valid, but dartfmt should accept) (ski p: published version of analyzer doesn't support 'covariant yet')
53 class A {
54 A( covariant this.foo);
55 }
56 <<<
57 class A {
58 A(covariant this.foo);
37 } 59 }
OLDNEW
« no previous file with comments | « packages/dart_style/test/whitespace/metadata.unit ('k') | packages/dart_style/test/whitespace/script.unit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698