// FIX: "Replace with '?: error(...)'" // WITH_RUNTIME fun foo(p: Array) { val v = p[0] ?: error(/* null */ /* lazy message */"Should be not null") // now let's check it for null // 'v' should not be null }