Files
kotlin-fork/compiler/testData/ir/irText/expressions/argumentMappedWithError.kt
T
Dmitriy Novozhilov ae608ea67f [FE 1.0] Always create return value for CallInstruction
This fixes missing `USED_AS_EXPRESSION` recordings
^KT-47527 Fixed
2021-07-02 17:55:20 +03:00

10 lines
163 B
Kotlin
Vendored

// FIR_IDENTICAL
fun <R : Number> Number.convert(): R = TODO()
fun foo(arg: Number) {
}
fun main(args: Array<String>) {
val x: Int = 0
foo(x.convert())
}