-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Fix crash when serializing the return type of a generic call to Array.prototype.flat #38904
Conversation
…ions produced by recursive conditionals
@typescript-bot test this |
Heya @weswigham, I've started to run the parallelized community code test suite on this PR at 6658f1e. You can monitor the build here. |
Heya @weswigham, I've started to run the parallelized Definitely Typed test suite on this PR at 6658f1e. You can monitor the build here. |
Heya @weswigham, I've started to run the extended test suite on this PR at 6658f1e. You can monitor the build here. |
Heya @weswigham, I've started to run the perf test suite on this PR at 6658f1e. You can monitor the build here. Update: The results are in! |
The user suite test run you requested has finished and failed. I've opened a PR with the baseline diff from master. |
@weswigham Here they are:Comparison Report - master..38904
System
Hosts
Scenarios
|
RWC and user all look good. Perf is fine. DT needs some text changes to |
@typescript-bot cherry-pick this to release-3.9 |
Heya @weswigham, I've started to run the task to cherry-pick this into |
Hey @weswigham, I couldn't open a PR with the cherry-pick. (You can check the log here). You may need to squash and pick this PR into release-3.9 manually. |
….prototype.flat (microsoft#38904) * Add declaration emit error and checking for circularly referential unions produced by recursive conditionals * Allow indexed accesses to produce alias symbols on types * Add test that still triggers the declaration emit error * Fix spelling
…to Array.prototype.flat (microsoft#38904) (microsoft#39079)" This reverts commit 986e9dd.
Fixes #38298
This fix is two-pronged:
.types
and error message baselines where many complex types got reduced toSomeAlias<T>
or the like. That should be an improvement for many situations outside of the crashing one.