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

Unified Diff: test/codegen/expect/misc.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/methods.js ('k') | test/codegen/expect/names.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/misc.js
diff --git a/test/codegen/expect/misc.js b/test/codegen/expect/misc.js
index bf0cf8698329eea96fb339a89b2e71106e53391f..a59fd6cb1b4b14a1537ff45ce995470c73859096 100644
--- a/test/codegen/expect/misc.js
+++ b/test/codegen/expect/misc.js
@@ -1,5 +1,6 @@
-var misc;
-(function(exports) {
+var misc = dart.defineLibrary(misc, {});
+var core = dart.import(core);
+(function(exports, core) {
'use strict';
// Function main: () → dynamic
function main() {
@@ -9,4 +10,4 @@ var misc;
}
// Exports:
exports.main = main;
-})(misc || (misc = {}));
+})(misc, core);
« no previous file with comments | « test/codegen/expect/methods.js ('k') | test/codegen/expect/names.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698