[klib] Test signature descriptions in irText tests
KT-59486
This commit is contained in:
committed by
Space Team
parent
6142d75bb4
commit
5e63f7627f
Vendored
+4
@@ -6,6 +6,7 @@ fun interface IRunnable {
|
||||
// CHECK:
|
||||
// Mangled name: IRunnable#run(){}
|
||||
// Public signature: /IRunnable.run|-991178076551934874[0]
|
||||
// Public signature debug description: run(){}
|
||||
abstract fun run(): Unit
|
||||
|
||||
}
|
||||
@@ -13,15 +14,18 @@ fun interface IRunnable {
|
||||
// CHECK:
|
||||
// Mangled name: #foo1(IRunnable;kotlin.Array<out|kotlin.String>...){}
|
||||
// Public signature: /foo1|8109256075034655920[0]
|
||||
// Public signature debug description: foo1(IRunnable;kotlin.Array<out|kotlin.String>...){}
|
||||
fun foo1(r: IRunnable, vararg s: String): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #foo2(IRunnable;IRunnable;kotlin.Array<out|kotlin.String>...){}
|
||||
// Public signature: /foo2|-847052428556006975[0]
|
||||
// Public signature debug description: foo2(IRunnable;IRunnable;kotlin.Array<out|kotlin.String>...){}
|
||||
fun foo2(r1: IRunnable, r2: IRunnable, vararg s: String): Unit
|
||||
|
||||
// CHECK:
|
||||
// Mangled name: #test(kotlin.Function0<kotlin.Unit>;IRunnable;kotlin.String;kotlin.Array<kotlin.String>){}
|
||||
// Public signature: /test|8261026842322841823[0]
|
||||
// Public signature debug description: test(kotlin.Function0<kotlin.Unit>;IRunnable;kotlin.String;kotlin.Array<kotlin.String>){}
|
||||
fun test(fn: Function0<Unit>, r: IRunnable, s: String, arr: Array<String>): Unit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user