da9f0e7af8
Sometimes there are legitimate reasons to have two separate signature dumps for K1 and K2. ^KT-61797 Fixed
32 lines
565 B
Kotlin
Vendored
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()
|
|
}
|
|
}
|
|
}
|
|
}
|