mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
18 lines
356 B
Kotlin
Vendored
18 lines
356 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
|
|
// jvm signature: (I)V
|
|
// generic signature: null
|
|
|
|
// method: Test::listOfFoo
|
|
// jvm signature: (Ljava/util/List;)V
|
|
// generic signature: (Ljava/util/List<LFoo;>;)V
|