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

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

Powered by Google App Engine
This is Rietveld 408576698