fun Int?.foo() = this?.hashCode() ?: 0 val x = { i: Int? -> i.foo() }