-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Faster exit from isTypeRelatedTo with identityRelation #36590
Conversation
@typescript-bot run dt |
Heya @ahejlsberg, I've started to run the perf test suite on this PR at c44f1a4. You can monitor the build here. It should now contribute to this PR's status checks. Update: The results are in! |
Heya @ahejlsberg, I've started to run the parallelized Definitely Typed test suite on this PR at c44f1a4. You can monitor the build here. It should now contribute to this PR's status checks. |
@ahejlsberg Here they are:Comparison Report - master..36590
System
Hosts
Scenarios
|
@typescript-bot pack this |
Hey @amcasey, I've packed this into an installable tgz. You can install it for testing by referencing it in your
and then running There is also a playground for this build. |
10-run average from the original machine shows a 7% improvement. Very nice! |
This change fixes a failure in checking in interface E {
stack: string;
}
declare var y: E | undefined
declare var x: E;
var x = y; // error expected here, but none given
x.stack It's very surprising to me that we didn't give an error here before. Note that we did give an error for |
Maybe it's because we weren't strictly checking duplicate declaration sites before. Normal code like |
Reduces the total compile time of the test in #36564 by about 6%.
Fixes #36564.