Map inline classes in generic argument position to theirs wrap classes
This commit is contained in:
+17
@@ -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
|
||||
Reference in New Issue
Block a user