[OpenSCAD] Functions literals / higher order functions

Torsten Paul Torsten.Paul at gmx.de
Sun Nov 3 17:46:28 EST 2019


On 03.11.19 23:46, Parkinbot wrote:
> will detect a recursion. While the following typo will
> indeed brick OpenSCAD
>
>     sin = function(x) sin();
>     echo(sin(30));

That should have been caught be the tail recursion limit.
I've created a ticket to investigate why the limit is
not triggered.
https://github.com/openscad/openscad/issues/3118

ciao,
  Torsten.



More information about the Discuss mailing list