renciso218 / blockly

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

Creating a list of lists doesn't work. #50

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Place a create list with on a create list with.

What is the expected output? What do you see instead?

It works fine for the first list added, but any other lists break it.

Expected:
item = [[0, 0], [0, 0]];

Actual:
item = [[0, 0], ];

What browser are you using?

Chrome and Firefox

Please provide any additional information below.

Original issue reported on code.google.com by Ichka...@gmail.com on 28 Jun 2012 at 7:58

GoogleCodeExporter commented 8 years ago
A missing 'var' declaration resulted in an index variable becoming global, 
which resulted in recursion not being, er, recursive.  Oops.

The root cause was a failure to run lint on some recent changes.

The fix (r335) has been pushed to the subversion repository.  Will be published 
to the demo site by Monday.

Thanks for the report!

Original comment by neil.fra...@gmail.com on 9 Jul 2012 at 3:20