Skip to content
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

Static properties without semicolons break everything #42

Closed
are opened this issue Aug 9, 2017 · 1 comment
Closed

Static properties without semicolons break everything #42

are opened this issue Aug 9, 2017 · 1 comment

Comments

@are
Copy link

are commented Aug 9, 2017

Just like in the title.

d85skl9

@bathos
Copy link
Owner

bathos commented Aug 9, 2017

At the time I introduced class fields here it did not yet have a formal grammar and it was unclear whether ASI would be applicable, so this choice was made intentionally. The formal grammar today does permit ASI however, despite the much higher chances of ambiguous sequences in class bodies, so I can give supporting it a go (with the caveat that ASI-like behavior in a pattern-based syntax def like this can only be approximated).

@bathos bathos closed this as completed in 7c79c92 Aug 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants