| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |