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

Unified Diff: test/codegen/expect/try_catch.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/temps.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/try_catch.js
diff --git a/test/codegen/expect/try_catch.js b/test/codegen/expect/try_catch.js
index 9e499469bebc3a579c4ff4680fd57b98e13a223c..8bdd4634016b15009cb92cd01388e6a80dabfeea 100644
--- a/test/codegen/expect/try_catch.js
+++ b/test/codegen/expect/try_catch.js
@@ -1,5 +1,6 @@
-var try_catch;
-(function(exports) {
+var try_catch = dart.defineLibrary(try_catch, {});
+var core = dart.import(core);
+(function(exports, core) {
'use strict';
// Function foo: () → dynamic
function foo() {
@@ -74,4 +75,4 @@ var try_catch;
exports.qux = qux;
exports.wub = wub;
exports.main = main;
-})(try_catch || (try_catch = {}));
+})(try_catch, core);
« no previous file with comments | « test/codegen/expect/temps.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698