Light classes: map annotation targets depending on JVM target

Since the default JVM target (`JvmTarget.DEFAULT`) is now 1.8, the
changed test started to fail. This change fixes it.
This commit is contained in:
Alexander Udalov
2021-01-21 15:29:44 +01:00
parent d022bb0248
commit 64e97225b8
3 changed files with 28 additions and 16 deletions
@@ -1,7 +1,7 @@
// Anno
@Retention(AnnotationRetention.SOURCE)
@Target(AnnotationTarget.TYPE_PARAMETER)
@Target(AnnotationTarget.TYPE_PARAMETER, AnnotationTarget.TYPE)
@MustBeDocumented
@Repeatable
annotation class Anno(val i: Int)