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

Unified Diff: test/codegen/expect/temps.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/sunflower/sunflower.js ('k') | test/codegen/expect/try_catch.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/temps.js
diff --git a/test/codegen/expect/temps.js b/test/codegen/expect/temps.js
index c873da0999dd97d184d1a9cf1d90966b2f2e6a36..87f2989d9d9a051418bdf760c8165ff1a5ff6d0c 100644
--- a/test/codegen/expect/temps.js
+++ b/test/codegen/expect/temps.js
@@ -1,5 +1,6 @@
-var temps;
-(function(exports) {
+var temps = dart.defineLibrary(temps, {});
+var core = dart.import(core);
+(function(exports, core) {
'use strict';
let _x = Symbol('_x');
let __x = Symbol('__x');
@@ -34,4 +35,4 @@ var temps;
exports.FormalCollision = FormalCollision;
exports.OptionalArg = OptionalArg;
exports.main = main;
-})(temps || (temps = {}));
+})(temps, core);
« no previous file with comments | « test/codegen/expect/sunflower/sunflower.js ('k') | test/codegen/expect/try_catch.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698