mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
Using "JVM_1_8" always resulted in incorrect mapping of Kotlin annotation targets to Java element types. The change in AbstractKotlinRenderLogTest is needed because while CliTraceHolder.module is technically a descriptor leak, it was never detected by this test accidentally, because of the depth cutoff equal to 10, which started to not be enough after the minor refactoring of replacing `Delegates.notNull` with `lateinit`.
9 lines
195 B
Kotlin
Vendored
9 lines
195 B
Kotlin
Vendored
// Anno
|
|
// JVM_TARGET: 1.6
|
|
|
|
@Retention(AnnotationRetention.SOURCE)
|
|
@Target(AnnotationTarget.TYPE_PARAMETER, AnnotationTarget.TYPE)
|
|
@MustBeDocumented
|
|
@Repeatable
|
|
annotation class Anno(val i: Int)
|