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

Unified Diff: test/codegen/expect/constructors.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/cascade.js ('k') | test/codegen/expect/covariance.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/constructors.js
diff --git a/test/codegen/expect/constructors.js b/test/codegen/expect/constructors.js
index 4fb06b7c78bdcf4b32eb76d6eb90753fddf2edc8..14f6eebab32a1bf7001a8f08687b0339e5312546 100644
--- a/test/codegen/expect/constructors.js
+++ b/test/codegen/expect/constructors.js
@@ -1,5 +1,6 @@
-var constructors;
-(function(exports) {
+var constructors = dart.defineLibrary(constructors, {});
+var core = dart.import(core);
+(function(exports, core) {
'use strict';
class A extends core.Object {}
class B extends core.Object {
@@ -116,4 +117,4 @@ var constructors;
exports.M = M;
exports.N = N;
exports.P = P;
-})(constructors || (constructors = {}));
+})(constructors, core);
« no previous file with comments | « test/codegen/expect/cascade.js ('k') | test/codegen/expect/covariance.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698