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
Stack overflow when parameter name is same as object property name #444
Comments
You might expect that, but does that mean you'd also expect that as soon as you're inside a function, you can't reference object properties at all anymore? How would you write this?
|
Hmm, you are right. Then the issue becomes "it should give a nice error instead of stack overflowing" :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following fails:
With the following error:
The following works as expected, however:
I would expect object properties to be in a different "namespace" and such not cause a self-assignment.
The text was updated successfully, but these errors were encountered: