mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
They are currently marked as defined even when they get a default implementation. That makes it hard to figure out if the accessor should be removed when introducing a backing field in the JVM_IR backend.
15 lines
358 B
Kotlin
Vendored
15 lines
358 B
Kotlin
Vendored
// Please make sure that this test is consistent with the blackbox test "annotationsOnLateinitAccessors.kt"
|
|
|
|
import kotlin.reflect.KProperty
|
|
|
|
annotation class Ann
|
|
annotation class AnnRepeat
|
|
|
|
class LateinitProperties {
|
|
@get:Ann
|
|
lateinit var y0: String
|
|
|
|
<!ANNOTATION_TARGETS_NON_EXISTENT_ACCESSOR!>@get:Ann<!>
|
|
private lateinit var y1: String
|
|
}
|