Files
kotlin-fork/compiler/testData/loadKotlin/annotations/classMembers/ClassObjectPropertyField.kt
T
Alexander Udalov 19299daacd Deserialize annotations on class object properties
Class object properties' backing fields are generated into static fields of the
containing class, not into fields of class object. For fields we now store the
flag which, if set, tells that this field should be looked for in the
containing class
2013-08-26 15:59:45 +04:00

10 lines
116 B
Kotlin

package test
annotation class Anno
class Class {
class object {
[Anno] var property: Int = 42
}
}