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

Unified Diff: test/codegen/es6_modules.dart

Issue 1612083002: Initial --modules=es6 support (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: addressed comments (legacy, doc) + test enum utils Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/all_tests.dart ('k') | test/codegen/expect/es6_modules.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/es6_modules.dart
diff --git a/test/codegen/es6_modules.dart b/test/codegen/es6_modules.dart
new file mode 100644
index 0000000000000000000000000000000000000000..6370fdc26d935d3c48fd592fcf62d088a6ab5d5b
--- /dev/null
+++ b/test/codegen/es6_modules.dart
@@ -0,0 +1,25 @@
+library test;
+
+import 'dart:js';
+
+typedef void Callback({int i});
+
+class A {}
+class _A {}
+class B<T> {}
+class _B<T> {}
+
+f() {}
+_f() {}
+
+const String constant = "abc";
+final String finalConstant = "abc";
+final String lazy = (() {
+ print('lazy');
+ return "abc";
+})();
+String mutable = "abc";
+String lazyMutable = (() {
+ print('lazyMutable');
+ return "abc";
+})();
« no previous file with comments | « test/all_tests.dart ('k') | test/codegen/expect/es6_modules.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698