Skip to content

Fix #12050: catch StackOverflow in tryNormalize #12250

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

Merged
merged 1 commit into from
Apr 30, 2021

Conversation

OlivierBlanvillain
Copy link
Contributor

I suspect that the refactoring in #12053 turned #12050's infinite loop into a stack overflow, which is easy to catch.

Although this doesn't completely fix the issue (we can't guarantee that no stack-consuming loops exist), I think all the looping examples we have so far error out gracefully.

I suspect that the refactoring in scala#12053 turned scala#12050's infinite loop
into a stack overflow, which is easy to catch.

Although this doesn't completely fix the issue (we can't guarantee that
no stack-consuming loops exist), I think all the looping examples we
have so far error out gracefully.
@odersky odersky merged commit 59f7b7e into scala:master Apr 30, 2021
@odersky odersky deleted the fix-12050 branch April 30, 2021 16:08
@Kordyjan Kordyjan added this to the 3.0.1 milestone Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants