-
Notifications
You must be signed in to change notification settings - Fork 25
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
VDMJ function variable scoping error #13
Comments
Still present in 2.0.0b2 |
|
Still present in 2.0.0b2 |
|
|
|
|
Still in 2.0 |
This seems to have been fixed at some point, probably along with another fix without realising it. The example given works correctly. Closing. |
There is a bug regarding access to named function variables when the environment
also contains a function definition of the same name. Calls involving the variable
will actually be bound to the definition, even though the variable is in scope.
For example:
You get a warning because the function parameter is not used:
A workaround is to rename the parameter.
The text was updated successfully, but these errors were encountered: