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

Side by Side Diff: test/codegen/es6_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/domtest.dart ('k') | test/codegen/expect/8invalid-chars.in+file_name.js » ('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=es6
1 library test; 2 library test;
2 3
3 import 'dart:js';
4
5 typedef void Callback({int i}); 4 typedef void Callback({int i});
6 5
7 class A {} 6 class A {}
8 class _A {} 7 class _A {}
9 class B<T> {} 8 class B<T> {}
10 class _B<T> {} 9 class _B<T> {}
11 10
12 f() {} 11 f() {}
13 _f() {} 12 _f() {}
14 13
15 const String constant = "abc"; 14 const String constant = "abc";
16 final String finalConstant = "abc"; 15 final String finalConstant = "abc";
17 final String lazy = (() { 16 final String lazy = (() {
18 print('lazy'); 17 print('lazy');
19 return "abc"; 18 return "abc";
20 })(); 19 })();
21 String mutable = "abc"; 20 String mutable = "abc";
22 String lazyMutable = (() { 21 String lazyMutable = (() {
23 print('lazyMutable'); 22 print('lazyMutable');
24 return "abc"; 23 return "abc";
25 })(); 24 })();
OLDNEW
« no previous file with comments | « test/codegen/domtest.dart ('k') | test/codegen/expect/8invalid-chars.in+file_name.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698