06aad65ed3
We should pass container for correct logic around CLASS_HEADER_ANNOTATIONS. Also, such correct containers will be used in the context of KT-63042 to correctly detect an annotation ownership ^KT-63042 ^KT-63842 Fixed
10 lines
206 B
Kotlin
Vendored
10 lines
206 B
Kotlin
Vendored
annotation class Anno(val position: String)
|
|
|
|
fun foo() {
|
|
class OriginalClass {
|
|
val prop = 0
|
|
|
|
@Anno(<!NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION!>"dangling $prop"<!>)<!SYNTAX!><!>
|
|
}
|
|
}
|