Generate method calls for inline classes through IC, not IC$Erased
IC extends IC$Erased, so it should be fine.
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
// !LANGUAGE: +InlineClasses
|
||||
|
||||
// FILE: Z.kt
|
||||
inline class Z(val x: Int)
|
||||
|
||||
// FILE: test.kt
|
||||
fun testZ(z: Z) = z.equals(z)
|
||||
fun testZ(z: Z, a: Any?) = z.equals(a)
|
||||
fun testNZ(z: Z?) = z?.equals(z)
|
||||
|
||||
// @TestKt.class:
|
||||
// 0 INVOKESTATIC Z\$Erased\.equals
|
||||
// 0 INVOKESTATIC Z\-Erased\.equals
|
||||
// 3 INVOKESTATIC Z\.equals \(ILjava/lang/Object;\)Z
|
||||
Reference in New Issue
Block a user