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

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

Powered by Google App Engine
This is Rietveld 408576698