Skip to content

Fix #7526: Don't check class info within bounds when taking denotions #7560

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
Dec 9, 2019

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Nov 16, 2019

When computing a denotation, always assume that ClassInfos override TypeBounds
and other ClassInfos. RefChecks will verify later that the overrides are legal.
This is needed to prevent infinite recursion involving interleaved subtype checks
and denotation computations prompted by findMember.

…enotations

When computing a denotation, always assume that ClassInfos override TypeBounds
and other ClassInfos. RefChecks will verify later that the overrides are legal.
This is needed to prevent infinite recursion involving interleaved subtype checks
and denotation computations prompted by findMember.
Co-Authored-By: Guillaume Martres <smarter@ubuntu.com>
@odersky odersky merged commit 63ba1a3 into scala:master Dec 9, 2019
@odersky odersky deleted the fix-#7526 branch December 9, 2019 14:43
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