Skip to content

Fix #10174: avoid creating deep nesting union space #11058

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
Jan 13, 2021

Conversation

liufengyun
Copy link
Contributor

Fix #10174: avoid creating deep nesting union space

Copy link
Member

@bishabosha bishabosha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, stops repeated work and also stops deeply nesting Or

@bishabosha bishabosha merged commit a5ff84a into scala:master Jan 13, 2021
@bishabosha bishabosha deleted the fix-10174 branch January 13, 2021 10:31
@griggt
Copy link
Contributor

griggt commented Jan 20, 2021

The regression test for this looks to have failed on JDK 8 in the most recent nightly CI:

https://github.com/lampepfl/dotty/runs/1732363505?check_suite_focus=true

@liufengyun
Copy link
Contributor Author

It seems the test test_java8 only starts to fail today:

https://github.com/lampepfl/dotty/actions?query=workflow%3ADotty+event%3Aschedule

Might be related to some other changes recently?

@liufengyun
Copy link
Contributor Author

I was able to reproduce locally both under Java 8 and 14. I proposed a fix in #11176.

liufengyun added a commit to dotty-staging/dotty that referenced this pull request Jan 21, 2021
liufengyun added a commit to dotty-staging/dotty that referenced this pull request Jan 21, 2021
@Kordyjan Kordyjan added this to the 3.0.0 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.

Large enum (1000 cases) causes StackOverflowError
4 participants