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

Side by Side 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: 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 unified diff | Download patch
OLDNEW
1 var html_input_a = dart.defineLibrary(html_input_a, {}); 1 dart.defineLibrary('html_input_a');
2 var core = dart.import(core); 2 dart.import('core');
3 var html_input_b = dart.import(html_input_b); 3 dart.import('html_input_b');
4 var html_input_c = dart.import(html_input_c); 4 dart.import('html_input_c');
5 var html_input_d = dart.import(html_input_d); 5 dart.import('html_input_d');
6 (function(exports, core, html_input_b, html_input_c, html_input_d) { 6 (function(exports, core, html_input_b, html_input_c, html_input_d) {
7 'use strict'; 7 'use strict';
8 function main() { 8 function main() {
9 core.print(`fib(${html_input_b.x} + ${html_input_c.y}) = `); 9 core.print(`fib(${html_input_b.x} + ${html_input_c.y}) = `);
10 core.print(` ... ${html_input_d.fib(dart.notNull(html_input_b.x) + dart.not Null(html_input_c.y))}`); 10 core.print(` ... ${html_input_d.fib(dart.notNull(html_input_b.x) + dart.not Null(html_input_c.y))}`);
11 } 11 }
12 dart.fn(main); 12 dart.fn(main);
13 // Exports: 13 // Exports:
14 exports.main = main; 14 exports.main = main;
15 })(html_input_a, core, html_input_b, html_input_c, html_input_d); 15 })(html_input_a, core, html_input_b, html_input_c, html_input_d);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698