Don't mangle synthesized 'box' function for inline classes

This commit is contained in:
Dmitry Petrov
2018-08-24 16:05:12 +03:00
committed by Ilya Gorbunov
parent ea2c33a532
commit 583c66a2a7
3 changed files with 23 additions and 0 deletions
@@ -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;