-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
"RangeError: Maximum call stack size exceeded" error after upgrading from 5.6.3 to 5.7.2 #60564
Comments
According to the provided bisect information it's caused by something in this diff. To fix this a repro case has to be provided though. |
It shouldn't happen but I'm not entirely convinced that it's a repro case for your original problem. This crashes when calling |
The above repro is caused by the fact that |
🔎 Search Terms
"Maximum call stack size exceeded", "getContextualTypeForObjectLiteralElement", "checkNonNullExpression"
🕗 Version & Regression Information
This changed between versions 5.7.0-dev.20240930 and 5.7.0-dev.20241001
I ran into this bug upgrading from 5.6.3 to 5.7.2 and bisected to that particular release.
⏯ Playground Link
https://www.typescriptlang.org/play/?ts=5.8.0-dev.20241122#code/KYDwDg9gTgLgBAYwgOwM7xgCwJbIOZwC8cA3gFACQAJhNjABQCUplFUwMArlMixfwG0s2VADoAhgF0AXHABEcgDSsAvgG5KK5eqA
💻 Code
I don't have a narrowed code example, it just crashes when running
tsc --noEmit
on our whole project.🙁 Actual behavior
🙂 Expected behavior
No crash
Additional information about the issue
No response
The text was updated successfully, but these errors were encountered: