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

[javascript] Support class fields without initializer #3474

Closed
ris58h opened this issue May 24, 2023 · 0 comments
Closed

[javascript] Support class fields without initializer #3474

ris58h opened this issue May 24, 2023 · 0 comments

Comments

@ris58h
Copy link
Contributor

ris58h commented May 24, 2023

Input:

class S {
    s;
}

Errors:

line 2:3 no viable alternative at input 'class S {\n  s;'
line 1:8 no viable alternative at input '{'

Specification: https://tc39.es/ecma262/multipage/ecmascript-language-functions-and-classes.html#prod-FieldDefinition

ris58h added a commit to ris58h/grammars-v4 that referenced this issue Jun 12, 2023
ris58h added a commit to ris58h/grammars-v4 that referenced this issue Jun 13, 2023
ris58h added a commit to ris58h/grammars-v4 that referenced this issue Jun 13, 2023
ris58h added a commit to ris58h/grammars-v4 that referenced this issue Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants