The doc says > When calling Kotlin functions fr...
# announcements
d
The doc says
When calling Kotlin functions from Java, nobody prevents us from passing null as a non-null parameter. That’s why Kotlin generates runtime checks for all public functions that expect non-nulls. This way we get a NullPointerException in the Java code immediately.
which doesn’t seem to apply to the
receiver
parameter of extension functions. Did I get it right and is it intentional ?