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

Unified Diff: test/codegen/expect/try_catch.js

Issue 1145243013: Check for duplicate library names (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 6 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
« test/codegen/expect/sunflower/dom.js ('K') | « 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 6695fd2ce65fba18d6e29f9a37d4ac26574ccb3e..f9081661cce95e8bf9e7a5b41102ca85b7a6239f 100644
--- a/test/codegen/expect/try_catch.js
+++ b/test/codegen/expect/try_catch.js
@@ -1,5 +1,5 @@
-var try_catch = dart.defineLibrary(try_catch, {});
-var core = dart.import(core);
+dart.defineLibrary('try_catch');
+dart.import('core');
(function(exports, core) {
'use strict';
function foo() {
« test/codegen/expect/sunflower/dom.js ('K') | « test/codegen/expect/temps.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698