[FE 1.0] Always create return value for CallInstruction

This fixes missing `USED_AS_EXPRESSION` recordings
^KT-47527 Fixed
This commit is contained in:
Dmitriy Novozhilov
2021-06-30 16:40:55 +03:00
committed by TeamCityServer
parent b2372ff0b9
commit ae608ea67f
50 changed files with 496 additions and 204 deletions
@@ -3,7 +3,7 @@ interface CPointed {
}
inline fun <reified T : CPointed> CPointed.reinterpret(): T {
TODO()
return TODO()
}
class CInt32VarX<T : Any?> : CPointed {
@@ -18,7 +18,7 @@ class CInt32VarX<T : Any?> : CPointed {
typealias CInt32Var = CInt32VarX<Int>
var <T_INT : Int> CInt32VarX<T_INT>.value: T_INT
get(): T_INT {
TODO()
return TODO()
}
set(value: T_INT) {
}