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

Unified Diff: test/codegen/expect/dir/html_input_b.js

Issue 1145243013: Check for duplicate library names (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rework with canonical names 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
Index: test/codegen/expect/dir/html_input_b.js
diff --git a/test/codegen/expect/dir/html_input_b.js b/test/codegen/expect/dir/html_input_b.js
index 084e1d723f866752de4d5d9880136d0c97fec892..4b9d022bb5201734f44d2cd3daaa74b7d1e30041 100644
--- a/test/codegen/expect/dir/html_input_b.js
+++ b/test/codegen/expect/dir/html_input_b.js
@@ -1,5 +1,6 @@
-var html_input_b = dart.defineLibrary(html_input_b, {});
-(function(exports) {
+dart.library('dir/html_input_b.js', null, /* Imports */[
+], /* Lazy imports */[
+], function(exports) {
'use strict';
exports.x = 3;
-})(html_input_b);
+});

Powered by Google App Engine
This is Rietveld 408576698