59f192ef90
Includes changes to decompiled text Old syntax is used in builtins and project code for now
20 lines
310 B
Kotlin
20 lines
310 B
Kotlin
// ERROR: Body is not allowed for annotation class
|
|
annotation class Anon(public val value: String) {
|
|
|
|
public enum class E {
|
|
A
|
|
B
|
|
}
|
|
|
|
default object {
|
|
|
|
public val field: E = E.A
|
|
}
|
|
}
|
|
|
|
Anon("a")
|
|
trait I {
|
|
default object {
|
|
public val e: Anon.E = Anon.field
|
|
}
|
|
} |