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

Limit decorator use-before-def check to ES decorators only #57933

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

rbuckton
Copy link
Member

@rbuckton rbuckton commented Mar 25, 2024

The new use-before-definition check for class name references in decorators was too breaky for --experimentalDecorators, so we are limiting this check to only target ES decorators.

Related #57666
Related #57922
Fixes #57366

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Mar 25, 2024
@rbuckton rbuckton merged commit 64a0010 into main Mar 25, 2024
25 checks passed
@typescript-bot typescript-bot removed the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Mar 25, 2024
@rbuckton rbuckton deleted the use-before-def-es-decorators-only branch March 25, 2024 18:31
@typescript-bot typescript-bot added the For Milestone Bug PRs that fix a bug with a specific milestone label Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Milestone Bug PRs that fix a bug with a specific milestone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using static members in class decorator
3 participants