-
Notifications
You must be signed in to change notification settings - Fork 2k
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
instanceof Array inconsistencies #1390
Comments
Interesting. This incorrect behavior only occurs in interactive mode for me. The compiled output is correct and so is the result when run as a script. |
yeah I forgot to add; it only happens in interactive mode |
Yes, the problem is that each statement is getting executed in a new VM instance, so the following occurs:
because it references a different |
Found the source of the bug: We're looping over the properties in |
@infynyxx: fixed by the above commit |
But
The text was updated successfully, but these errors were encountered: