Files
kotlin-fork/compiler/testData/ir/irText/expressions/conventionComparisons.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

63 lines
2.2 KiB
Kotlin
Vendored

// CHECK:
// Mangled name: IA
// Public signature: /IA|null[0]
interface IA {
}
// CHECK:
// Mangled name: IB
// Public signature: /IB|null[0]
interface IB {
// CHECK JVM_IR:
// Mangled name: IB#compareTo@IA(IA){}kotlin.Int
// Public signature: /IB.compareTo|-7259969497814497426[0]
// Public signature debug description: compareTo@IA(IA){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: IB#compareTo@IA(IA){}
// Public signature: /IB.compareTo|-6258326288651646740[0]
// Public signature debug description: compareTo@IA(IA){}
abstract operator fun IA.compareTo(other: IA): Int
}
// CHECK JVM_IR:
// Mangled name: #test1@IB(IA;IA){}kotlin.Boolean
// Public signature: /test1|-4373836657117486273[0]
// Public signature debug description: test1@IB(IA;IA){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test1@IB(IA;IA){}
// Public signature: /test1|2110430035798087324[0]
// Public signature debug description: test1@IB(IA;IA){}
fun IB.test1(a1: IA, a2: IA): Boolean
// CHECK JVM_IR:
// Mangled name: #test2@IB(IA;IA){}kotlin.Boolean
// Public signature: /test2|5436750902587155920[0]
// Public signature debug description: test2@IB(IA;IA){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test2@IB(IA;IA){}
// Public signature: /test2|-1582753887583153969[0]
// Public signature debug description: test2@IB(IA;IA){}
fun IB.test2(a1: IA, a2: IA): Boolean
// CHECK JVM_IR:
// Mangled name: #test3@IB(IA;IA){}kotlin.Boolean
// Public signature: /test3|-6567103906122911326[0]
// Public signature debug description: test3@IB(IA;IA){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test3@IB(IA;IA){}
// Public signature: /test3|7130450291559664455[0]
// Public signature debug description: test3@IB(IA;IA){}
fun IB.test3(a1: IA, a2: IA): Boolean
// CHECK JVM_IR:
// Mangled name: #test4@IB(IA;IA){}kotlin.Boolean
// Public signature: /test4|-2122684825224786608[0]
// Public signature debug description: test4@IB(IA;IA){}kotlin.Boolean
// CHECK JS_IR NATIVE:
// Mangled name: #test4@IB(IA;IA){}
// Public signature: /test4|-7050566763299108335[0]
// Public signature debug description: test4@IB(IA;IA){}
fun IB.test4(a1: IA, a2: IA): Boolean