-
-
Notifications
You must be signed in to change notification settings - Fork 593
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
[pluginutils] attachScopes ignores variables declared in for-of statement #547
Comments
Pull requests to resolve this issue are welcome. This is unlikely to get a fix without community contribution. |
I took a look at the test file, it seems that the ast is hand-crafted. Do I have to find some ways to build them manually? or can we generate the AST by parsing readable source code? |
My guess is that they were created by pasting some code here: https://astexplorer.net/ Alternatively of course you could just run acorn in your test. |
Can we merge #551 first? I will start working on for-loop issues after that. |
Expected Behavior
The local scope should contain variable
a
.Actual Behavior
The local scope doesn't contain variable
a
.Additional Information
It has been reported once but the issue is closed:
#113
The text was updated successfully, but these errors were encountered: