16d1e85932
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.
24 lines
549 B
Kotlin
Vendored
24 lines
549 B
Kotlin
Vendored
interface IA {
|
|
}
|
|
|
|
interface IB {
|
|
abstract operator fun IA.compareTo(other: IA): Int
|
|
|
|
}
|
|
|
|
fun IB.test1(a1: IA, a2: IA): Boolean {
|
|
return greater(arg0 = (<this>, a1).compareTo(other = a2), arg1 = 0)
|
|
}
|
|
|
|
fun IB.test2(a1: IA, a2: IA): Boolean {
|
|
return greaterOrEqual(arg0 = (<this>, a1).compareTo(other = a2), arg1 = 0)
|
|
}
|
|
|
|
fun IB.test3(a1: IA, a2: IA): Boolean {
|
|
return less(arg0 = (<this>, a1).compareTo(other = a2), arg1 = 0)
|
|
}
|
|
|
|
fun IB.test4(a1: IA, a2: IA): Boolean {
|
|
return lessOrEqual(arg0 = (<this>, a1).compareTo(other = a2), arg1 = 0)
|
|
}
|