Resolve target: val x: kotlin.Any? smart-cast to kotlin.Any ---------------------------------------------- fun foo() { for (i in 1..10) { val x = take() if (x == null) continue x.hashCode() } } fun take(): Any? = null