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

Unified Diff: test/codegen/expect/opassign.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/names.js ('k') | test/codegen/expect/sunflower/dom.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/opassign.js
diff --git a/test/codegen/expect/opassign.js b/test/codegen/expect/opassign.js
index 52ca848086e9c69146fd2514640f9b024eb65184..6afb908a1c580985acd1ad959f362be151c47e50 100644
--- a/test/codegen/expect/opassign.js
+++ b/test/codegen/expect/opassign.js
@@ -1,5 +1,6 @@
-var opassign;
-(function(exports) {
+var opassign = dart.defineLibrary(opassign, {});
+var core = dart.import(core);
+(function(exports, core) {
'use strict';
dart.copyProperties(exports, {
get index() {
@@ -53,4 +54,4 @@ var opassign;
exports.Foo = Foo;
exports.main = main;
exports.forcePostfix = forcePostfix;
-})(opassign || (opassign = {}));
+})(opassign, core);
« no previous file with comments | « test/codegen/expect/names.js ('k') | test/codegen/expect/sunflower/dom.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698