We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The current syntax
DecoratorMemberExpression[Yield, Await] : IdentifierReference[?Yield, ?Await] DecoratorMemberExpression[?Yield, ?Await] . IdentifierName DecoratorMemberExpression[?Yield, ?Await] . PrivateIdentifier ( Expression[+In, ?Yield, ?Await] )
disallows this.dec as a decorator member expression, instead one would have to parenthesize it into @(this.dec).
this.dec
@(this.dec)
Ref: #435 (comment), #435 (comment)
A related question: Should @this be allowed? I think we should either allow both or disallow both.
@this
The text was updated successfully, but these errors were encountered:
The receiver (and super, and arguments, and new.target) shouldn’t be treated any differently than any other identifier, ideally.
Sorry, something went wrong.
No branches or pull requests
The current syntax
disallows
this.dec
as a decorator member expression, instead one would have to parenthesize it into@(this.dec)
.Ref: #435 (comment), #435 (comment)
A related question: Should
@this
be allowed? I think we should either allow both or disallow both.The text was updated successfully, but these errors were encountered: