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

Side by Side Diff: test/codegen/closure.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/closure/closure_annotation_test.dart ('k') | test/codegen/destructuring.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: --closure-experimental --destructure-named-params --modules= es6
1 library test; 2 library test;
2 import 'dart:js'; 3 import 'dart:js';
3 4
4 List/*<T>*/ generic_function/*<T>*/(List/*<T>*/ items, dynamic/*=T*/ seed) { 5 List/*<T>*/ generic_function/*<T>*/(List/*<T>*/ items, dynamic/*=T*/ seed) {
5 var strings = items.map((i) => "$i").toList(); 6 var strings = items.map((i) => "$i").toList();
6 return items; 7 return items;
7 } 8 }
8 9
9 typedef void Callback({int i}); 10 typedef void Callback({int i});
10 11
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 57
57 class Baz extends Foo<int> with Bar { 58 class Baz extends Foo<int> with Bar {
58 Baz(int i) : super(i, 123); 59 Baz(int i) : super(i, 123);
59 } 60 }
60 61
61 void main(args) {} 62 void main(args) {}
62 63
63 const String some_top_level_constant = "abc"; 64 const String some_top_level_constant = "abc";
64 final String some_top_level_final = "abc"; 65 final String some_top_level_final = "abc";
65 String some_top_level_var = "abc"; 66 String some_top_level_var = "abc";
OLDNEW
« no previous file with comments | « test/closure/closure_annotation_test.dart ('k') | test/codegen/destructuring.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698