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

Side by Side Diff: test/codegen/expect/dir/html_input_a.js

Issue 1138793002: Tag closures with their types (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Address jmesserly's comments 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 unified diff | Download patch
OLDNEW
1 var html_input_a = dart.defineLibrary(html_input_a, {}); 1 var html_input_a = dart.defineLibrary(html_input_a, {});
2 var core = dart.import(core); 2 var core = dart.import(core);
3 var html_input_b = dart.import(html_input_b); 3 var html_input_b = dart.import(html_input_b);
4 var html_input_c = dart.import(html_input_c); 4 var html_input_c = dart.import(html_input_c);
5 var html_input_d = dart.import(html_input_d); 5 var html_input_d = 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: () → dynamic
9 function main() { 8 function main() {
10 core.print(`fib(${html_input_b.x} + ${html_input_c.y}) = `); 9 core.print(`fib(${html_input_b.x} + ${html_input_c.y}) = `);
11 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))}`);
12 } 11 }
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