You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Curried methods are not valid SAM methods (#18110)
This reverts most of #17740 and instead add a check on currying in
SAMType. We could consider allowing curried methods in SAM types, but
this would be a language change that requires a SIP, and the
implementation would need an adaptation step in erasure since the
invokedynamic method needs to have a compatible signature with the
abstract method in the trait.
0 commit comments