Skip to content

Fix #6822: Fix self type handling for opaque types in classes #6857

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 3 commits into from
Jul 16, 2019

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jul 15, 2019

Two problems fixed:

  • selfInfo's can be NoType, so need to use the selfType as a refinement parent.
  • selfTypes for classes can be conjunctions of given self type and underlying type,
    so need to use givenselfType to extract the opaque alias.

odersky added 3 commits July 15, 2019 23:23
Two problems fixed:

 - selfInfo's can be NoType, so need to use the selfType as a refinement parent.
 - selfTypes for classes can be conjunctions of given self type and underlying type,
   so need to use givenselfType to extract the opaque alias.
@nicolasstucki nicolasstucki merged commit d3ebb98 into scala:master Jul 16, 2019
@nicolasstucki nicolasstucki deleted the fix-#6822 branch July 16, 2019 11:17
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