Revert part of catch clause PR which broke other declarations#52403
Revert part of catch clause PR which broke other declarations#52403jakebailey merged 2 commits intomicrosoft:mainfrom
Conversation
On second look, we actually have specific types for these and they are distinct, |
|
@typescript-bot pack this |
|
Heya @DanielRosenwasser, I've started to run the tarball bundle task on this PR at 3cc8892. You can monitor the build here. |
|
Heya @DanielRosenwasser, I've started to run the abridged perf test suite on this PR at 3cc8892. You can monitor the build here. |
|
Heya @DanielRosenwasser, I've started to run the diff-based top-repos suite (tsserver) on this PR at 3cc8892. You can monitor the build here. |
|
Heya @DanielRosenwasser, I've started to run the diff-based user code test suite on this PR at 3cc8892. You can monitor the build here. Update: The results are in! |
|
Heya @DanielRosenwasser, I've started to run the diff-based user code test suite (tsserver) on this PR at 3cc8892. You can monitor the build here. Update: The results are in! |
|
Heya @DanielRosenwasser, I've started to run the diff-based top-repos suite on this PR at 3cc8892. You can monitor the build here. |
|
Heya @DanielRosenwasser, I've started to run the extended test suite on this PR at 3cc8892. You can monitor the build here. |
|
Hey @DanielRosenwasser, 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 and an npm module you can use via |
|
@DanielRosenwasser Here are the results of running the user test suite comparing Everything looks good! |
|
@DanielRosenwasser Here are the results of running the user test suite comparing Something interesting changed - please have a look. Details
|
|
Of course the above implies I forgot to rerun the top tests after tacking on my extra commit. Sigh. |
Fixes #52401
In #52240, I tacked on an extra commit which was intended to optimize/fix
getControlFlowContainerandassumeInitialized(pulled from my "arbitrary catch clause annotations" PR as it was required to make tsserver happy).It turned out to have an unintended negative effect.
I actually think that this change was correct, and thatassumeInitializedis actually missing more nodes that should be containers (as defined by the binder), but for purposes of the beta I want to just revert this and investigate later.