Files
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
356 B
Kotlin
Vendored

package foo
open external class A {
external constructor() /* primary */
external fun foo(): String
}
open external class B : A {
external constructor() /* primary */
external fun bar(): String
}
class C : B {
constructor() /* primary */ {
super/*B*/()
/* <init>() */
}
}
fun box(): String {
val c: C = C()
return "OK"
}