Files
kotlin-fork/compiler/testData/diagnostics/tests/annotations/danglingAnnotation.kt
T
Dmitrii Gridin 98e12b0d7b [FIR] add missed scope for annotations on property receiver, typealias and init and dangling list
Also, we shouldn't transform type alias during the implicit type phase

^KT-63042
^KT-63832 Fixed
2023-11-29 10:24:02 +00:00

11 lines
200 B
Kotlin
Vendored

// FIR_IDENTICAL
annotation class Anno(val position: String)
interface OriginalInterface {
companion object {
private const val prop = 0
}
@Anno("dangling $prop")<!SYNTAX!><!>
}