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

Side by Side Diff: test/codegen/node_modules.dart

Issue 1879373004: Implement modular compilation (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 8 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 | « test/codegen/map_keys.dart ('k') | test/codegen/sunflower/dom.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 library test; 2 library test;
2 3
3 import 'dart:js'; 4 import 'dart:js';
4 5
5 typedef void Callback({int i}); 6 typedef void Callback({int i});
6 7
7 class A {} 8 class A {}
8 class _A {} 9 class _A {}
9 class B<T> {} 10 class B<T> {}
10 class _B<T> {} 11 class _B<T> {}
11 12
12 f() {} 13 f() {}
13 _f() {} 14 _f() {}
14 15
15 const String constant = "abc"; 16 const String constant = "abc";
16 final String finalConstant = "abc"; 17 final String finalConstant = "abc";
17 final String lazy = (() { 18 final String lazy = (() {
18 print('lazy'); 19 print('lazy');
19 return "abc"; 20 return "abc";
20 })(); 21 })();
21 String mutable = "abc"; 22 String mutable = "abc";
22 String lazyMutable = (() { 23 String lazyMutable = (() {
23 print('lazyMutable'); 24 print('lazyMutable');
24 return "abc"; 25 return "abc";
25 })(); 26 })();
OLDNEW
« no previous file with comments | « test/codegen/map_keys.dart ('k') | test/codegen/sunflower/dom.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698