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

Side by Side Diff: pkg/dev_compiler/test/codegen/es6_modules.dart

Issue 2752163002: Format all dart dev compiler files (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
OLDNEW
1 // compile options: --modules=es6 1 // compile options: --modules=es6
2 library test; 2 library test;
3 3
4 typedef void Callback({int i}); 4 typedef void Callback({int i});
5 5
6 class A {} 6 class A {}
7
7 class _A {} 8 class _A {}
9
8 class B<T> {} 10 class B<T> {}
11
9 class _B<T> {} 12 class _B<T> {}
10 13
11 f() {} 14 f() {}
12 _f() {} 15 _f() {}
13 16
14 const String constant = "abc"; 17 const String constant = "abc";
15 final String finalConstant = "abc"; 18 final String finalConstant = "abc";
16 final String lazy = (() { 19 final String lazy = (() {
17 print('lazy'); 20 print('lazy');
18 return "abc"; 21 return "abc";
19 })(); 22 })();
20 String mutable = "abc"; 23 String mutable = "abc";
21 String lazyMutable = (() { 24 String lazyMutable = (() {
22 print('lazyMutable'); 25 print('lazyMutable');
23 return "abc"; 26 return "abc";
24 })(); 27 })();
OLDNEW
« no previous file with comments | « pkg/dev_compiler/test/codegen/destructuring.dart ('k') | pkg/dev_compiler/test/codegen/js_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698