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

Side by Side Diff: pkg/kernel/testcases/input/argument.dart

Issue 2747113004: Run dartfmt on kernel package (Closed)
Patch Set: Created 3 years, 9 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 | « pkg/kernel/testcases/input/DeltaBlue.dart ('k') | pkg/kernel/testcases/input/call.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 abstract class Base {} 1 abstract class Base {}
2 2
3 class Foo extends Base {} 3 class Foo extends Base {}
4
4 class Bar extends Base {} 5 class Bar extends Base {}
6
5 class Baz extends Base {} 7 class Baz extends Base {}
6 8
7 void foo(x) { 9 void foo(x) {}
8 10
9 } 11 void bar(x) {}
10 12
11 void bar(x) { 13 void foo_escaped(x) {}
12 14
13 } 15 void bar_escaped(x) {}
14
15 void foo_escaped(x) {
16
17 }
18
19 void bar_escaped(x) {
20
21 }
22 16
23 void escape(fn) { 17 void escape(fn) {
24 fn(new Baz()); 18 fn(new Baz());
25 } 19 }
26 20
27 main() { 21 main() {
28 foo(new Foo()); 22 foo(new Foo());
29 bar(new Bar()); 23 bar(new Bar());
30 escape(foo_escaped); 24 escape(foo_escaped);
31 escape(bar_escaped); 25 escape(bar_escaped);
32 } 26 }
OLDNEW
« no previous file with comments | « pkg/kernel/testcases/input/DeltaBlue.dart ('k') | pkg/kernel/testcases/input/call.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698