11 lines
198 B
Plaintext
Vendored
11 lines
198 B
Plaintext
Vendored
// FIX: "Replace with '?: error(...)'"
|
|
// WITH_RUNTIME
|
|
|
|
class C {
|
|
fun error(message: String) { }
|
|
|
|
fun foo(p: Array<String?>) {
|
|
val v = p[0] <caret>?: kotlin.error("message")
|
|
}
|
|
}
|