-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Avoid checking class expressions more than once #59610
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
base: main
Are you sure you want to change the base?
Conversation
This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise. |
@typescript-bot test it |
Hey @DanielRosenwasser, the results of running the DT tests are ready. Everything looks the same! |
@DanielRosenwasser Here are the results of running the user tests with tsc comparing Everything looks good! |
@DanielRosenwasser Here they are:
tscComparison Report - baseline..pr
System info unknown
Hosts
Scenarios
Developer Information: |
@DanielRosenwasser Here are the results of running the top 400 repos with tsc comparing Everything looks good! |
When investigating #52892 I noticed that a class expression in the circular situation could be checked more than once.
I couldn't recognize any issue being fixed by this. I manually confirmed that various diagnostics could be created by this wrapped code more than once... but
DiagnosticCollection['add']
uses a deduplication mechanism so this can't be observed.