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

Unified Diff: test/codegen/expect/methods.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/map_keys.js.map ('k') | test/codegen/expect/misc.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/methods.js
diff --git a/test/codegen/expect/methods.js b/test/codegen/expect/methods.js
index 87611b28f46ae68001dd5b444540fe235628c2d7..222970e71c12783aef6c4a375d8bc0f076e2d913 100644
--- a/test/codegen/expect/methods.js
+++ b/test/codegen/expect/methods.js
@@ -1,5 +1,6 @@
-var methods;
-(function(exports) {
+var methods = dart.defineLibrary(methods, {});
+var core = dart.import(core);
+(function(exports, core) {
'use strict';
let _c = Symbol('_c');
class A extends core.Object {
@@ -61,4 +62,4 @@ var methods;
exports.Bar = Bar;
exports.Foo = Foo;
exports.test = test;
-})(methods || (methods = {}));
+})(methods, core);
« no previous file with comments | « test/codegen/expect/map_keys.js.map ('k') | test/codegen/expect/misc.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698