-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Only skip following inference steps after union member matching if an inference is actually made #33154
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
Only skip following inference steps after union member matching if an inference is actually made #33154
Conversation
… inference is actually made
@typescript-bot test this |
Heya @weswigham, I've started to run the extended test suite on this PR at 737d1e7. 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 Definitely Typed test suite on this PR at 737d1e7. 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 737d1e7. 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. |
I think this fixes an issue in the azure sdk. Or they fixed one since my last result and for the fourth time today, again the user baselines are just today's as yet uncaptured/accepted update (just changes in upstream projects), and thus are clean~ |
Also removes an error in RWC of the form |
The two DT changes are related, and I need to look at the lodash one in detail, but I think the new handful of results are probably just as good if not better than the old ones. @typescript-bot pack this for posterity. And testing. @benlesh does this fixup inference in all of rxjs? |
Heya @weswigham, I've started to run the tarball bundle task on this PR at 737d1e7. You can monitor the build here. It should now contribute to this PR's status checks. |
Hey @weswigham, I've packed this into an installable tgz. You can install it for testing by referencing it in your
and then running |
@ahejlsberg has an alternative implementation he'll have a PR up for shortly |
Fixes #33131
I'm not sure if you'd like to reconsider more here, but, generally speaking, this seems like a fairly minimal tweak to the logic we added to better match union/intersection types that un-breaks rxjs with only a minimal (and arguably beneficial) change to our own baselines.