this relates to my earlier question about why java...
# announcements
x
this relates to my earlier question about why java can infer SAM where Kotlin can't... this is my fix, why can't kotlin make this inference?
Copy code
.extracting( Extractor {eds: EngDataStructure? -> eds?.rtcTime?.get(Calendar.SECOND) } )
@Andreas Sinz
h
a
@xenoterracide whats the signature of that function in java?
x
what it says in the popup, the confusion seems to be is that it can match the one throwing the exception or the one not throwing the exception. Likely this was done for checked exception SAM's in java 8.