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

Parse JS/TS decorators #964

Closed
5 of 6 tasks
strager opened this issue Apr 4, 2023 · 1 comment
Closed
5 of 6 tasks

Parse JS/TS decorators #964

strager opened this issue Apr 4, 2023 · 1 comment
Assignees
Labels
false positive Severe bug: quick-lint-js rejects valid code

Comments

@strager
Copy link
Collaborator

strager commented Apr 4, 2023

https://github.com/tc39/proposal-decorators
https://arai-a.github.io/ecma262-compare/?pr=2417

  • export @foo class C {}
  • @foo export class C {}
  • @foo export @bar class C {} // Invalid.
  • @foo export default class C {}
  • export default @foo class C {} // Unsure if valid.
  • @foo function f() {} // Invalid.
@strager strager added the false positive Severe bug: quick-lint-js rejects valid code label Apr 4, 2023
@strager strager mentioned this issue Apr 4, 2023
57 tasks
@strager strager mentioned this issue Sep 7, 2023
6 tasks
@strager strager self-assigned this Sep 10, 2023
@strager
Copy link
Collaborator Author

strager commented Sep 23, 2023

Decorator parsing and errors finished in commit 4a0bc7c. (Errors are not 100% comprehensive.)

@strager strager closed this as completed Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
false positive Severe bug: quick-lint-js rejects valid code
Projects
None yet
Development

No branches or pull requests

1 participant