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:
Dmitry Petrov
2018-08-30 12:29:41 +03:00
parent 3080b65f7d
commit 80a67477db
10 changed files with 100 additions and 8 deletions
@@ -24,7 +24,7 @@ fun test(a: Any, b: Any?) {
// 2 INSTANCEOF UInt
// 2 CHECKCAST UInt
// 1 INVOKEVIRTUAL UInt.unbox
// 1 INVOKESTATIC UInt\$Erased.member
// 1 INVOKEVIRTUAL UInt\.unbox
// 1 INVOKESTATIC UInt\.member
// 0 intValue