Map inline classes in generic argument position to theirs wrap classes

This commit is contained in:
Mikhail Zarechenskiy
2018-02-09 08:26:25 +03:00
parent 1d16d21dbb
commit a8a9f774d0
6 changed files with 92 additions and 4 deletions
@@ -0,0 +1,17 @@
// !LANGUAGE: +InlineClasses
inline class Foo(val b: Bar)
inline class Bar(val i: Int)
object Test {
fun simple(f: Foo) {}
fun listOfFoo(f: List<Foo>) {}
}
// method: Test::simple
// jvm signature: (I)V
// generic signature: null
// method: Test::listOfFoo
// jvm signature: (Ljava/util/List;)V
// generic signature: (Ljava/util/List<LFoo;>;)V