Remove carve-out in conditional type instantiation that hopefully has been rendered unneeded#51151
Conversation
…opefully is no longer required
|
@typescript-bot user test this inline |
|
Heya @weswigham, I've started to run the diff-based user code test suite on this PR at 2fe0be0. You can monitor the build here. Update: The results are in! |
|
Heya @weswigham, I've started to run the parallelized Definitely Typed test suite on this PR at 2fe0be0. You can monitor the build here. |
|
Heya @weswigham, I've started to run the extended test suite on this PR at 2fe0be0. You can monitor the build here. |
|
@weswigham Here are the results of running the user test suite comparing Something interesting changed - please have a look. Details
|
|
OK, I'm actually pretty happy with the puppeteer breaks - the source for puppeteer actually looks like it has the similar circularity issues to the linked issue (they just ignore them via comment pragma), which actually are fixed (at least partially) by this and thus surface these new (correct as far as I can tell) errors, since the return types in question no longer get error- |
|
Heya @weswigham, I've started to run the diff-based top-repos suite on this PR at 2fe0be0. You can monitor the build here. Update: The results are in! |
|
@weswigham Here are the results of running the top-repos suite comparing Everything looks good! |
ahejlsberg
left a comment
There was a problem hiding this comment.
I'm definitely good with removing that carve-out. In fact, I never really understood why it was needed in the first place.
Fixes #50688
This is all good w/ our local test suite, but the extended suite is what matters as, iirc, that's what originally motivated this line. Still, we've changed some other stuff about conditional instantiation since the original change, so hopefully this weird carve-out just isn't needed for compatibility anymore.