Add cast to expected type in call-based in-expression generation
#KT-20106 Fixed
This commit is contained in:
+1
@@ -39,6 +39,7 @@ class CallBasedInExpressionGenerator(
|
||||
object : BranchedValue(argument, null, argument.type, Opcodes.IFEQ) {
|
||||
override fun putSelector(type: Type, v: InstructionAdapter) {
|
||||
invokeFunction(v)
|
||||
coerceTo(type, v)
|
||||
}
|
||||
|
||||
override fun condJump(jumpLabel: Label, v: InstructionAdapter, jumpIfFalse: Boolean) {
|
||||
|
||||
Reference in New Issue
Block a user