-
Notifications
You must be signed in to change notification settings - Fork 591
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
Invalid scope in JS export statement #1309
Comments
#1302 probably related and relevant. |
This behavior is correct. The export default {
foo: 42
}
/* some comment */
['foo']; This will export Previous versions of the JavaScript syntax handled this incorrectly, resulting in a number of bugs. PR #1009 restructured the syntax definition so that it would systematically do the right thing in these sorts of cases. Unfortunately, the Vue syntax assumes that when the closing |
@skyronic Since we've sorted out the Vue stuff, can this issue be closed? |
This appears to be resolved now |
Using dev build of Sublime (3153)
Scope of some code in built-in JS implementation
Same file and location with the Babel package:
The text was updated successfully, but these errors were encountered: