Files
kotlin-fork/compiler/testData/ir/irText/expressions/funInterface/castFromAny.sig.kt.txt
T
Dmitriy Dolovov 16d1e85932 IR text tests: Stable blank lines between declarations in class
Rework rendering of kt-like dump and signatures dump in order to avoid
unstable blank line between declarations of the same level:
1. No blank line for the first declaration inside the member scope of
the class.
2. Always a single blank line between each two subsequent declarations
inside the member scope of the class.
2023-11-30 08:32:35 +00:00

19 lines
504 B
Kotlin
Vendored

// CHECK:
// Mangled name: KRunnable
// Public signature: /KRunnable|null[0]
fun interface KRunnable {
// CHECK:
// Mangled name: KRunnable#invoke(){}
// Public signature: /KRunnable.invoke|-4663091332620260873[0]
// Public signature debug description: invoke(){}
abstract fun invoke(): Unit
}
// CHECK:
// Mangled name: #test(kotlin.Any?){}
// Public signature: /test|4942271194395271693[0]
// Public signature debug description: test(kotlin.Any?){}
fun test(a: Any?): Unit