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
247 B
Kotlin
Vendored
10 lines
247 B
Kotlin
Vendored
package myPack
|
|
|
|
annotation class Anno(val number: Int)
|
|
|
|
fun topLevelFun() {
|
|
class LocalClass {
|
|
val @receiver:Anno(<!ANNOTATION_ARGUMENT_MUST_BE_CONST, TYPECHECKER_HAS_RUN_INTO_RECURSIVE_PROBLEM!>42.prop<!>) Int.prop get() = 22
|
|
}
|
|
}
|