Files
kotlin-fork/compiler/testData/ir/irText/expressions/enumEntryReferenceFromEnumEntryClass.kt
T
Sergej Jaskiewicz da9f0e7af8 [test] Get rid of SKIP_SIGNATURE_DUMP directive in irText tests
Sometimes there are legitimate reasons to have two separate signature
dumps for K1 and K2.

^KT-61797 Fixed
2024-01-15 13:10:19 +00:00

32 lines
565 B
Kotlin
Vendored

// SEPARATE_SIGNATURE_DUMP_FOR_K2
// ^ Types of properties of anonymous classes generated by K1 and K2 are different
enum class MyEnum {
Z {
var counter = 0
fun foo() {}
fun bar() {
counter = 1
foo()
}
val aLambda = {
counter = 1
foo()
}
val anObject = object {
init {
counter = 1
foo()
}
fun test() {
counter = 1
foo()
}
}
}
}