5e63f7627f
KT-59486
26 lines
770 B
Kotlin
Vendored
26 lines
770 B
Kotlin
Vendored
// CHECK:
|
|
// Mangled name: MyRunnable
|
|
// Public signature: /MyRunnable|null[0]
|
|
fun interface MyRunnable {
|
|
|
|
// CHECK:
|
|
// Mangled name: MyRunnable#run(){}
|
|
// Public signature: /MyRunnable.run|-991178076551934874[0]
|
|
// Public signature debug description: run(){}
|
|
abstract fun run(): Unit
|
|
|
|
}
|
|
|
|
// CHECK:
|
|
// Mangled name: #foo(kotlin.Array<out|MyRunnable>...){}
|
|
// Public signature: /foo|6689815842309055774[0]
|
|
// Public signature debug description: foo(kotlin.Array<out|MyRunnable>...){}
|
|
fun foo(vararg rs: MyRunnable): Unit
|
|
|
|
// CHECK:
|
|
// Mangled name: #test(kotlin.Any;MyRunnable){}
|
|
// Public signature: /test|-2252565057874021036[0]
|
|
// Public signature debug description: test(kotlin.Any;MyRunnable){}
|
|
fun test(a: Any, r: MyRunnable): Unit
|
|
|