Files
kotlin/compiler/testData/writeSignature/inlineClasses/inlineClassBasedOnOtherInlineClass.kt
Dmitry Petrov 99498eb7b8 Use 'name-hash' mangling scheme
'-' is allowed as a name character both in JVM and in Dalvik, but can't
be a part of a Java identifier.
2018-08-30 14:58:52 +03:00

18 lines
365 B
Kotlin
Vendored

// !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-1e4ch6lh
// jvm signature: (I)V
// generic signature: null
// method: Test::listOfFoo
// jvm signature: (Ljava/util/List;)V
// generic signature: (Ljava/util/List<LFoo;>;)V