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

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: rebase and format 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
« no previous file with comments | « test/codegen/expect/fieldtest.js ('k') | test/codegen/expect/map_keys.js.map » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f36a4374b9cc245a5b0185c04624a642171cfe0c 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.import(core);
+var math = dart.import(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
« no previous file with comments | « test/codegen/expect/fieldtest.js ('k') | test/codegen/expect/map_keys.js.map » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698