[OpenSCAD] Infamous warnings

Michael Frey michael.frey at gmx.ch
Sat Nov 30 07:09:43 EST 2019


Work in progress can be seen at
https://github.com/openscad/openscad/pull/3149

I think cases with literals are distinct from cases with variables.


for([a,b,c]) will not create a warning as that can be very intentional
with nested for loops.

Yeah, it can be hard to debug, but creating warnings can cause issues
with legacy code and it bloats the user code with handling that.


for([100,1,1]) will create a warning, as this most likely a typo and no
outside circumstance can affect this loop.


With Kind regards,

Michael Frey



More information about the Discuss mailing list