You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior:
Should print an error for indexing object literal with 0 or using circular references.
Or at least the same behavior as in v3.3.4000:
Great! I think this will be the minimal reproduction of this issue. Thanks a lot!
RyanCavanaugh
added
Bug
A bug in TypeScript
Crash
For flagging bugs which are compiler or service crashes or unclean exits, rather than bad output
labels
Apr 9, 2019
Talked to @weswigham and this is probably caused by #31354. I think the new output here is not super desirable, but it's not related to this issue per se. If there are new real-world issues with this code or other conditional types in the RC, a new issue is welcomed.
TypeScript Version:
[email protected]
,[email protected]
Search Terms:
Code
Expected behavior:
Should print an error for indexing object literal with
0
or using circular references.Or at least the same behavior as in
v3.3.4000
:Output when compiled with `[email protected]`
Actual behavior:
NodeJS standard heap crash report:
Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
Details
Playground from
typescriptlang.com
produces in-browser heap memory allocation failure:Details
Playground Link:
Klick me if you are not afraid of crashing your browser's heap
Related Issues:
typesafe-joi
heap overflow JavaScript heap out of memory when compiling typesafe-joi on v3.4.x #30794[email protected]
3.4.1 tsc works 20! times slower than 3.3.4 #30663The text was updated successfully, but these errors were encountered: