yuuchilyann / blockly

Automatically exported from code.google.com/p/blockly
0 stars 0 forks source link

Syntax error in generated javascript from controls_for with bounds that aren't simple numbers #150

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Try to run http://blockly-demo.appspot.com/static/apps/code/en.html#dcx9iz

What is the expected output? What do you see instead?
Browser shows an error: "SyntaxError: Unexpected token )"

What browser are you using?
Chrome

Please provide any additional information below.
Here's the offending line of generated Javascript:
var i_inc = 1);
And the place in the code:
https://code.google.com/p/blockly/source/browse/trunk/generators/javascript/cont
rol.js#158

Original issue reported on code.google.com by kevin.p....@gmail.com on 6 Jul 2013 at 4:32

GoogleCodeExporter commented 8 years ago
Thanks!  Fixed in r1090.

Original comment by neil.fra...@gmail.com on 16 Jul 2013 at 5:54

GoogleCodeExporter commented 8 years ago
Let me also thank you for the very clear bug report.  We've fixed notifications 
(and completed our vacations) so will be responding to future ones more quickly.

Original comment by sper...@google.com on 16 Jul 2013 at 6:07