Skip to content
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

Avoid creating Typeable for general type projections #1124

Merged
merged 1 commit into from
Apr 24, 2021

Conversation

joroKr21
Copy link
Collaborator

Unless:

  • the outer type is final and not parametrized
  • the inner type is a case class

All other type projections are potentially unsound because the
inner type can capture type members of the outer type.

Backports #803

Unless:
* the outer type is final and not parametrized
* the inner type is a case class

All other type projections are potentially unsound because the
inner type can capture type members of the outer type.
@joroKr21 joroKr21 self-assigned this Apr 24, 2021
@joroKr21 joroKr21 merged commit 2ec64a5 into milessabin:series/2.3 Apr 24, 2021
@joroKr21 joroKr21 deleted the typeable branch April 24, 2021 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant