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

Side by Side Diff: pkg/kernel/testcases/input/closure.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/call.dart ('k') | pkg/kernel/testcases/input/escape.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 class Foo { 1 class Foo {
2 var _field = new Bar(); 2 var _field = new Bar();
3 } 3 }
4 4
5 class Bar {} 5 class Bar {}
6 6
7 useCallback(callback) { 7 useCallback(callback) {
8 var _ = callback(); 8 var _ = callback();
9 } 9 }
10 10
11 main() { 11 main() {
12 var x; 12 var x;
13 inner() { 13 inner() {
14 x = new Foo(); 14 x = new Foo();
15 return new Foo(); 15 return new Foo();
16 } 16 }
17
17 useCallback(inner); 18 useCallback(inner);
18 var _ = inner()._field; 19 var _ = inner()._field;
19 } 20 }
OLDNEW
« no previous file with comments | « pkg/kernel/testcases/input/call.dart ('k') | pkg/kernel/testcases/input/escape.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698