How do I type a lambda if they compiler is giving ...
# announcements
m
How do I type a lambda if they compiler is giving me an “`Overload resolution ambiguity`” ? I’m doing a thing like
.processor { it }
where processor can take a
Function
or a Functional Interface.
.procoessor( ItemProcessor { ... })
worked. 🙂
r
👍🏼 1
m
SAM conversion is the term I couldn’t remember and was causing my search to fail. Thanks!
👍 1