mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 15:54:03 +00:00
'-' is allowed as a name character both in JVM and in Dalvik, but can't be a part of a Java identifier.
18 lines
365 B
Kotlin
Vendored
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
|