Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExtOpenScad Let block of function definition gets wrong arguments #431

Closed
acoth opened this issue Jul 24, 2022 · 1 comment
Closed

ExtOpenScad Let block of function definition gets wrong arguments #431

acoth opened this issue Jul 24, 2022 · 1 comment

Comments

@acoth
Copy link

acoth commented Jul 24, 2022

Accessing function arguments normally works as expected, but within a let block, it gets the previous argument instead.
Simple example:
function foo(a,b,c) = let(output=b) [output,b]; echo(foo(1,2,3));

returns [1.0,2.0] instead of the expected [2.0,2.0]

@lepsa
Copy link
Contributor

lepsa commented Nov 8, 2022

@julialongtin I think that this can be closed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants