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

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

Issue 1145243013: Check for duplicate library names (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Address comments 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
« no previous file with comments | « test/codegen/expect/covariance.js ('k') | test/codegen/expect/dir/html_input_b.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/dir/html_input_a.js
diff --git a/test/codegen/expect/dir/html_input_a.js b/test/codegen/expect/dir/html_input_a.js
index d2c8d70f17d895298e93674e116cf23a548f805f..ad3c813f99313c072e09eb36584d9d719cf2952b 100644
--- a/test/codegen/expect/dir/html_input_a.js
+++ b/test/codegen/expect/dir/html_input_a.js
@@ -1,9 +1,10 @@
-var html_input_a = dart.defineLibrary(html_input_a, {});
-var core = dart.import(core);
-var html_input_b = dart.import(html_input_b);
-var html_input_c = dart.import(html_input_c);
-var html_input_d = dart.import(html_input_d);
-(function(exports, core, html_input_b, html_input_c, html_input_d) {
+dart.library('dir/html_input_a', null, /* Imports */[
+ 'dart/core',
+ 'dir/html_input_b',
+ 'dir/html_input_c',
+ 'dir/html_input_d'
+], /* Lazy imports */[
+], function(exports, core, html_input_b, html_input_c, html_input_d) {
'use strict';
function main() {
core.print(`fib(${html_input_b.x} + ${html_input_c.y}) = `);
@@ -12,4 +13,4 @@ var html_input_d = dart.import(html_input_d);
dart.fn(main);
// Exports:
exports.main = main;
-})(html_input_a, core, html_input_b, html_input_c, html_input_d);
+});
« no previous file with comments | « test/codegen/expect/covariance.js ('k') | test/codegen/expect/dir/html_input_b.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698