Join Slack
Communities
Powered by
<@U0AK89KT6>: thanks but that’s not my question. T...
# announcements
g
gregschlom
07/30/2016, 12:39 AM
@jkbbwr
: thanks but that’s not my question. This is just a contrived example. My question is: why can’t the Kotlin compiler infer that if
foo?.someMethod()
is not null, then
foo
must be non null? Are there some counter example? Or is that just an oversight from the compiler.
Open in Slack
Previous
Next