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

Unified Diff: test/codegen/expect/sunflower.js

Issue 977153002: Fix increment on nullable (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Remove assignments 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
« no previous file with comments | « test/codegen/expect/dart/isolate.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/sunflower.js
diff --git a/test/codegen/expect/sunflower.js b/test/codegen/expect/sunflower.js
index fcec2e64b35c4cc4da64f9786ea44433a2126a34..a3f34e0bd2deb205c2d577b993f90719e4c06dfb 100644
--- a/test/codegen/expect/sunflower.js
+++ b/test/codegen/expect/sunflower.js
@@ -67,7 +67,7 @@ var sunflower;
function draw() {
exports.seeds = core.int.parse(exports.slider.value);
exports.context.clearRect(0, 0, MAX_D, MAX_D);
- for (let i = 0; dart.notNull(i) < dart.notNull(exports.seeds); dart.notNull(i)++) {
+ for (let i = 0; dart.notNull(i) < dart.notNull(exports.seeds); i = dart.notNull(i) + 1) {
let theta = dart.notNull(i) * dart.notNull(TAU) / dart.notNull(exports.PHI);
let r = dart.notNull(math.sqrt(i)) * dart.notNull(SCALE_FACTOR);
let x = dart.notNull(centerX) + dart.notNull(r) * dart.notNull(math.cos(theta));
« no previous file with comments | « test/codegen/expect/dart/isolate.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698