Skip to content

Fix #8905: break cycles in instantiateToSubType #9072

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 2 commits into from
May 30, 2020

Conversation

OlivierBlanvillain
Copy link
Contributor

No description provided.

Because MatchAliases are bounds, it's unsafe to do a traversal that recursively
inspects bounds. It's kind of a pit fall...
I manually inspected all calls to loBound/hiBound and found another place in
the compiler where they are use during a traversal. The added test case fails
on master with a SO, just like scala#8905.
Copy link
Contributor

@liufengyun liufengyun left a comment

Choose a reason for hiding this comment

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

LGTM

@liufengyun liufengyun merged commit 9a2a3db into scala:master May 30, 2020
@liufengyun liufengyun deleted the fix-8905 branch May 30, 2020 07:15
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.

2 participants