Index: pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js |
diff --git a/pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js b/pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js |
index 5f718aa6b7b9f63abe49a3af3c4a65788f4873f2..2bc61414ab7b0b1da0e2c92ec6515c485f3b36d9 100644 |
--- a/pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js |
+++ b/pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js |
@@ -55,7 +55,7 @@ define(['dart_sdk'], function(dart_sdk) { |
sunflower.seeds = core.int.parse(sunflower.slider.value); |
sunflower.context.clearRect(0, 0, sunflower.MAX_D, sunflower.MAX_D); |
for (let i = 0; i < dart.notNull(sunflower.seeds); i++) { |
- let theta = i * painter.TAU / dart.notNull(sunflower.PHI); |
+ let theta = i * dart.notNull(painter.TAU) / dart.notNull(sunflower.PHI); |
let r = dart.notNull(math.sqrt(i)) * sunflower.SCALE_FACTOR; |
let x = sunflower.centerX + r * dart.notNull(math.cos(theta)); |
let y = sunflower.centerY - r * dart.notNull(math.sin(theta)); |