john-liu / jaql

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

expand unroll is broken #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
expand unroll copies the whole array that should be unrolled, instead of
just one element per result.

To reproduce: run the following statement in the jaql shell:
[ [1, [9,8,7] ] ]-> expand unroll $[1];
Expected result:
[ [1, 9], [1, 8], [1, 7] ]
Actual result:
[ [1, [9, 8, 7]], [1, [9, 8, 7]], [1, [9, 8, 7]] ]

Original issue reported on code.google.com by jasper.o...@de.ibm.com on 31 Jul 2009 at 10:44

GoogleCodeExporter commented 9 years ago
Fix in r267

Original comment by moritzka...@web.de on 14 Aug 2009 at 3:36