This is the general case for when, for whatever re...
# announcements
g
This is the general case for when, for whatever reason, the kotlin compiler doesnt infer that its own lambda type maps to the specificed Java SAM type, you can use the SAM type as if its a static function. eg
Copy code
val x: java.util.function.Predicate = java.util.function.Predicate { it -> false }