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

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: new approach 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
Index: test/codegen/expect/misc.js
diff --git a/test/codegen/expect/misc.js b/test/codegen/expect/misc.js
index bf0cf8698329eea96fb339a89b2e71106e53391f..7030778307beed84bbc14ad1809d859a2103b5ca 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.lazyImport(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);

Powered by Google App Engine
This is Rietveld 408576698