Don't mangle synthesized 'box' function for inline classes
This commit is contained in:
committed by
Ilya Gorbunov
parent
ea2c33a532
commit
583c66a2a7
+11
@@ -0,0 +1,11 @@
|
||||
// !LANGUAGE: +InlineClasses
|
||||
|
||||
inline class Z1(val x: Int)
|
||||
inline class Z2(val x: Z1)
|
||||
|
||||
fun test(zs: MutableList<Z2>, z: Z2) {
|
||||
zs.add(z)
|
||||
}
|
||||
|
||||
// 1 public final static box\(I\)LZ2;
|
||||
// 1 INVOKESTATIC Z2\$Erased.box \(I\)LZ2;
|
||||
Reference in New Issue
Block a user