[OpenSCAD] each - Assertion failed on flat list

Parkinbot rudolf at parkinbot.com
Fri Apr 27 19:28:46 EDT 2018

@runsun in general the parser doesn't know what a for loop will return. Thus
it is not a syntax error

E.g. this is correct: 

a = [each for(i=[1,2]) [i]];

Sent from: http://forum.openscad.org/

More information about the Discuss mailing list