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

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

Issue 1047023002: use == and != to enable handling null/undefined (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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/DeltaBlue.js ('k') | test/codegen/expect/server_mode/dir/html_input_d.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_d.js
diff --git a/test/codegen/expect/dir/html_input_d.js b/test/codegen/expect/dir/html_input_d.js
index cecfc8fb81b46fc0c346a2b13103a9173fbdd522..0c0ba75f752ce0b7ed2c27f14c31a1d310d57e0e 100644
--- a/test/codegen/expect/dir/html_input_d.js
+++ b/test/codegen/expect/dir/html_input_d.js
@@ -3,7 +3,7 @@ var html_input_d;
'use strict';
// Function fib: (int) → int
function fib(n) {
- return n === 0 || n === 1 ? 1 : dart.notNull(fib(dart.notNull(n) - 1)) + dart.notNull(fib(dart.notNull(n) - 2));
+ return n == 0 || n == 1 ? 1 : dart.notNull(fib(dart.notNull(n) - 1)) + dart.notNull(fib(dart.notNull(n) - 2));
}
// Exports:
exports.fib = fib;
« no previous file with comments | « test/codegen/expect/DeltaBlue.js ('k') | test/codegen/expect/server_mode/dir/html_input_d.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698