We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
using FastClosures outer = [[1]] @closure map(outer) do inner map(inner) do x x + 1 end end
UndefVarError: x not defined
The reason is, that @closure thinks x is a variable from outer scope:
@closure
x
quote let x = x map(outer) do inner map(inner) do x x + 1 end end end end
The text was updated successfully, but these errors were encountered:
Correct, this is a bug, thanks for the report.
Sorry, something went wrong.
Any kind of nested structure doesn't work
_c = 5 @closure (_a) -> ((_b) -> _a+_b+_c)
This gives an error that _b should be defined
No branches or pull requests
The reason is, that
@closure
thinksx
is a variable from outer scope:The text was updated successfully, but these errors were encountered: