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

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

Issue 1122133003: fixes #157, renaming local library identifiers if needed. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: new approach Created 5 years, 7 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/map_keys.js
diff --git a/test/codegen/expect/map_keys.js b/test/codegen/expect/map_keys.js
index 6dc6957274799305808e1363cb7e75bec6fd6378..e404420e9749d6f671c888a0bc36ec99cbe710ad 100644
--- a/test/codegen/expect/map_keys.js
+++ b/test/codegen/expect/map_keys.js
@@ -1,5 +1,7 @@
-var map_keys;
-(function(exports) {
+var map_keys = dart.defineLibrary(map_keys, {});
+var core = dart.lazyImport(core);
+var math = dart.lazyImport(math);
+(function(exports, core, math) {
'use strict';
// Function main: () → dynamic
function main() {
@@ -12,5 +14,5 @@ var map_keys;
}
// Exports:
exports.main = main;
-})(map_keys || (map_keys = {}));
+})(map_keys, core, math);
//# sourceMappingURL=map_keys.js.map

Powered by Google App Engine
This is Rietveld 408576698