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

46 lines
797 B
Kotlin
Vendored

class TestClass {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}
interface TestInterface {
}
object TestObject {
private constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}
open annotation class TestAnnotationClass : Annotation {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}
enum class TestEnumClass : Enum<TestEnumClass> {
private constructor() /* primary */ {
super/*Enum*/<TestEnumClass>()
/* <init>() */
}
fun values(): Array<TestEnumClass> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): TestEnumClass /* Synthetic body for ENUM_VALUEOF */
val entries: EnumEntries<TestEnumClass>
get(): EnumEntries<TestEnumClass> /* Synthetic body for ENUM_ENTRIES */
}