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

Fix under-compilation when the method type in a SAM changes #16996

Merged
merged 1 commit into from
Feb 23, 2023

Conversation

smarter
Copy link
Member

@smarter smarter commented Feb 22, 2023

A lambda that implements a SAM type desugars (either at compile-time or runtime via invokedynamic) into a class that extends the SAM type, therefore we need to register an inheritance relationship to get the proper invalidation logic.

Fixes sbt/zinc#830.

A lambda that implements a SAM type desugars (either at compile-time or runtime
via invokedynamic) into a class that extends the SAM type, therefore we need to
register an inheritance relationship to get the proper invalidation logic.

Fixes sbt/zinc#830.
@bishabosha bishabosha merged commit 9736c78 into scala:main Feb 23, 2023
@bishabosha bishabosha deleted the fix-zinc-i830 branch February 23, 2023 12:08
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.

SAM type change causes undercompilation
2 participants