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

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

Issue 977613002: Make int and double nullable by default (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: actually upload changes Created 5 years, 10 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_a.js
diff --git a/test/codegen/expect/dir/html_input_a.js b/test/codegen/expect/dir/html_input_a.js
index 2e28a78b3e94ffa237313acec87f9d648586e413..d78eb67030a9d473caa118538ddb45ac4b8c30bf 100644
--- a/test/codegen/expect/dir/html_input_a.js
+++ b/test/codegen/expect/dir/html_input_a.js
@@ -4,7 +4,7 @@ var html_input_a;
// Function main: () → dynamic
function main() {
core.print(`fib(${html_input_b.x} + ${html_input_c.y}) = `);
- core.print(` ... ${html_input_d.fib(html_input_b.x + html_input_c.y)}`);
+ core.print(` ... ${html_input_d.fib(dart.notNull(html_input_b.x) + dart.notNull(html_input_c.y))}`);
}
// Exports:
exports.main = main;

Powered by Google App Engine
This is Rietveld 408576698