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

Don't synthesize context functions with embedded wildcards #11527

Merged
merged 2 commits into from
Feb 24, 2021

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Feb 24, 2021

Don't synthesize context functions with embedded wildcards in their
parameter types. This leads to a crash later when we typecheck
the closure.

Fixes #11350

Don't synthesize context functions with embedded wildcards in their
parameter types. This leads to a crash later when we typecheck
the closure.
@odersky
Copy link
Contributor Author

odersky commented Feb 24, 2021

This removes a limitation where the fix for #7778 did not kick in.

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 0b697d5 into scala:master Feb 24, 2021
@liufengyun liufengyun deleted the fix-11350 branch February 24, 2021 20:44
@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.

Internal error when compile generic case class with context function field
3 participants