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

Unified Diff: test/codegen/expect/es6_modules.js

Issue 1633003002: Add --modules=node support (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: regen sdk and expectations 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
Index: test/codegen/expect/es6_modules.js
diff --git a/test/codegen/expect/es6_modules.js b/test/codegen/expect/es6_modules.js
index 58de87d87f1e0fc5392e45cc46117d65ef50571d..fb4b780b8c0527ab52467c48a43bd7a45fb4b0ce 100644
--- a/test/codegen/expect/es6_modules.js
+++ b/test/codegen/expect/es6_modules.js
@@ -1,4 +1,3 @@
-'use strict';
const exports = {};
import dart from "dart/_runtime";
import core from "dart/core";
@@ -10,12 +9,12 @@ const B$ = dart.generic(function(T) {
class B extends core.Object {}
return B;
});
-let B = B$();
+const B = B$();
const _B$ = dart.generic(function(T) {
class _B extends core.Object {}
return _B;
});
-let _B = _B$();
+const _B = _B$();
function f() {
}
dart.fn(f);

Powered by Google App Engine
This is Rietveld 408576698