[IR] Fix compiler bugs with MFVC to let KorGE run
Signed-off-by: Evgeniy.Zhelenskiy <Evgeniy.Zhelenskiy@jetbrains.com> #KT-1179
This commit is contained in:
committed by
Space Team
parent
9b3fc34f78
commit
3b5ad0681f
@@ -0,0 +1,21 @@
|
||||
// !LANGUAGE: +ValueClasses
|
||||
// WITH_STDLIB
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// CHECK_BYTECODE_LISTING
|
||||
|
||||
|
||||
@JvmInline
|
||||
value class DPoint(val x: Double, val y: Double)
|
||||
|
||||
class A : B()
|
||||
|
||||
class C {
|
||||
fun set(value: DPoint) = A().set(value)
|
||||
}
|
||||
|
||||
open class B {
|
||||
|
||||
fun set(value: DPoint) = "OK"
|
||||
}
|
||||
|
||||
fun box(): String = A().set(DPoint(1.0, 2.0))
|
||||
Reference in New Issue
Block a user