mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
31 lines
707 B
Kotlin
Vendored
31 lines
707 B
Kotlin
Vendored
// !LANGUAGE: +InlineClasses
|
|
|
|
inline class Foo(val x: Int) {
|
|
fun empty() {}
|
|
fun param(y: String) {}
|
|
fun Any.extension() {}
|
|
fun Any.extensionAndParam(y: Double) {}
|
|
|
|
fun withInlineClassType(c: Foo) {}
|
|
}
|
|
|
|
// method: Foo$Erased::empty
|
|
// jvm signature: (I)V
|
|
// generic signature: null
|
|
|
|
// method: Foo$Erased::param
|
|
// jvm signature: (ILjava/lang/String;)V
|
|
// generic signature: null
|
|
|
|
// method: Foo$Erased::extension
|
|
// jvm signature: (ILjava/lang/Object;)V
|
|
// generic signature: null
|
|
|
|
// method: Foo$Erased::extensionAndParam
|
|
// jvm signature: (ILjava/lang/Object;D)V
|
|
// generic signature: null
|
|
|
|
// method: Foo$Erased::withInlineClassType
|
|
// jvm signature: (II)V
|
|
// generic signature: null
|