Allow intersections (and substitutions) to be checked against discriminable unions#36663
Conversation
|
@typescript-bot perf test this I don't even know why, it's not like there are unions in the perf suite |
|
Heya @weswigham, I've started to run the parallelized Definitely Typed test suite on this PR at 6aaf984. You can monitor the build here. It should now contribute to this PR's status checks. |
|
Heya @weswigham, I've started to run the perf test suite on this PR at 6aaf984. You can monitor the build here. It should now contribute to this PR's status checks. Update: The results are in! |
|
Heya @weswigham, I've started to run the parallelized community code test suite on this PR at 6aaf984. 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 6aaf984. You can monitor the build here. It should now contribute to this PR's status checks. |
|
@weswigham Here they are:Comparison Report - master..36663
System
Hosts
Scenarios
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The user suite test run you requested has finished and failed. I've opened a PR with the baseline diff from master. |
|
Perf impact is zero, @rbuckton you wanna give a quick look over this change? |
sandersn
left a comment
There was a problem hiding this comment.
Seems good! I wonder how there were ZERO changes in any test suite, though.
|
@typescript-bot cherrypick this into release-3.8 |
|
Hey @weswigham, I've opened #36726 for you. |
Component commits: 6aaf984 Allow intersections (and substitutions) to be checks against discriminable unions
Component commits: 6aaf984 Allow intersections (and substitutions) to be checks against discriminable unions Co-authored-by: Wesley Wigham <wwigham@gmail.com>
Intersections for the reasons reported, substitutions because they're just opaque intersections and should generally work the same way in relationships.
Fixes #33243