fun test(v: Any?) { when (val h = v.hashCode()) { is Number -> 5 else -> 9 } }