Skip to content

Tighten condition when to do SAM type conversion #23246

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 1 commit into from
May 23, 2025

Conversation

odersky
Copy link
Contributor

@odersky odersky commented May 23, 2025

  • No conversion from contextual lambdas
  • No conversion after erasure

Fixes #23234

 - No conversion from contextual lambdas
 - No conversion after erasure

Fixes scala#23234
@odersky odersky requested a review from sjrd May 23, 2025 08:06
@sjrd sjrd merged commit 65e5ce0 into scala:main May 23, 2025
30 checks passed
@sjrd sjrd deleted the fix-23234 branch May 23, 2025 09:44
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.

Crash on SAM conversion from contextual lambda
2 participants