kotlin icon indicating copy to clipboard operation
kotlin copied to clipboard

JVM Inline: Fix operand stack type verify error

Open scaventz opened this issue 3 years ago • 0 comments

This is a proposal to fix KT-49364.

Operand stack type verification happens before checkcast is executed. When we implicitly cast an inline class to a non-inline type, if type of stack value is not subtype of the target, then coercing/checkcast is necessary.

scaventz avatar Aug 29 '22 17:08 scaventz