Files
kotlin-fork/compiler/testData/ir/irText/declarations/contextReceivers/lazy.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

31 lines
1.4 KiB
Kotlin
Vendored

// CHECK:
// Mangled name: Lazy
// Public signature: /Lazy|null[0]
interface Lazy<T : Any?> {
}
// CHECK:
// Mangled name: #f(Lazy<kotlin.Int>;Lazy<kotlin.CharSequence>;Lazy<0:0>;Lazy<Lazy<0:0>>){0§<kotlin.Any?>}
// Public signature: /f|-6064829949850642050[0]
// Public signature debug description: f(Lazy<kotlin.Int>;Lazy<kotlin.CharSequence>;Lazy<0:0>;Lazy<Lazy<0:0>>){0§<kotlin.Any?>}
fun <T : Any?> f(lazy1: Lazy<Int>, lazy2: Lazy<CharSequence>, lazyT: Lazy<T>, lazyLazyT: Lazy<Lazy<T>>): Unit
// CHECK:
// Mangled name: #test1!Lazy<kotlin.Int>!Lazy<kotlin.CharSequence>(){}
// Public signature: /test1|5140438532469983470[0]
// Public signature debug description: test1!Lazy<kotlin.Int>!Lazy<kotlin.CharSequence>(){}
fun test1($context_receiver_0: Lazy<Int>, $context_receiver_1: Lazy<CharSequence>): Unit
// CHECK:
// Mangled name: #test2!Lazy<0:0>@Lazy<kotlin.Int>(){0§<kotlin.Any?>}
// Public signature: /test2|-2502875315769862011[0]
// Public signature debug description: test2!Lazy<0:0>@Lazy<kotlin.Int>(){0§<kotlin.Any?>}
fun <T : Any?> Lazy<Int>.test2($context_receiver_0: Lazy<T>): Unit
// CHECK:
// Mangled name: #test3!Lazy<Lazy<0:0>>@Lazy<kotlin.Int>(){0§<kotlin.Any?>}
// Public signature: /test3|-745136432920564509[0]
// Public signature debug description: test3!Lazy<Lazy<0:0>>@Lazy<kotlin.Int>(){0§<kotlin.Any?>}
fun <T : Any?> Lazy<Int>.test3($context_receiver_0: Lazy<Lazy<T>>): Unit