10 lines
151 B
Kotlin
Vendored
10 lines
151 B
Kotlin
Vendored
// IGNORE_BACKEND: JS_IR
|
|
fun Int.foo() = 239
|
|
fun Long.bar() = 239.toLong()
|
|
|
|
fun box(): String {
|
|
42?.foo()
|
|
42.toLong()?.bar()
|
|
return "OK"
|
|
}
|