'box'/'unbox' methods are called by inline class

This commit is contained in:
Dmitry Petrov
2018-08-30 14:06:15 +03:00
parent 580b782585
commit b1016936b2
20 changed files with 58 additions and 24 deletions
@@ -22,9 +22,9 @@ fun transformToNullableTarget(a: AsInt): AsInt? = a as AsInt? // box
fun transformNullableToNullableTarget(a: AsInt?): AsInt? = a as AsInt?
// @ReferenceKt.class:
// 2 INVOKESTATIC AsAny\$Erased.box
// 2 INVOKESTATIC AsAny\.box
// 1 INVOKEVIRTUAL AsAny.unbox
// @PrimitiveKt.class:
// 2 INVOKESTATIC AsInt\$Erased.box
// 2 INVOKESTATIC AsInt\.box
// 1 INVOKEVIRTUAL AsInt.unbox