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.
31 lines
356 B
Kotlin
Vendored
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"
|
|
}
|
|
|