-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Hoist and distribute type parameter constraints over type parameters … #33453
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
Hoist and distribute type parameter constraints over type parameters … #33453
Conversation
…when comparing against union targets when fetching union constraints
tests/cases/conformance/jsdoc/typeParameterExtendsUnionConstraintDistributed.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good; sorry for the quibbles. Should probably read my approval as a no-op and get @ahejlsberg to give it the OK.
@typescript-bot perf test this |
Heya @weswigham, I've started to run the perf test suite on this PR at 5c38f6a. You can monitor the build here. It should now contribute to this PR's status checks. Update: The results are in! |
@weswigham Here they are:Comparison Report - master..33453
System
Hosts
Scenarios
|
@ahejlsberg perf here is fine, any other comments, questions, or concerns? |
Just because while I feel it's probably OK, we should probably do this on relationship/inference changes for diligence (and I don't want to deal with breaks tomorrow if there are any, and would rather deal with them now): @typescript-bot run dt |
Heya @weswigham, I've started to run the parallelized Definitely Typed test suite on this PR at 5c38f6a. You can monitor the build here. It should now contribute to this PR's status checks. |
Heya @weswigham, I've started to run the extended test suite on this PR at 5c38f6a. You can monitor the build here. It should now contribute to this PR's status checks. |
Heya @weswigham, I've started to run the parallelized community code test suite on this PR at 5c38f6a. You can monitor the build here. It should now contribute to this PR's status checks. |
The user suite test run you requested has finished and failed. I've opened a PR with the baseline diff from master. |
Excellent, DT is clean and the others are expected given the last merge date on this PR. |
…when comparing against union targets when fetching union constraints
Fixes #33340
The
error
baseline changes are because I disabled the redundant error info pyramids from the distributive constraint error - I'd only really want to add them back in if I changed them to dedent like overload errors, since as-is they didn't really flow.