Introduce EXPERIMENTAL_ANNOTATION_WITH_WRONG_RETENTION diagnostic

#KT-22941 Fixed
This commit is contained in:
Mikhail Glukhikh
2021-05-19 14:52:53 +03:00
committed by teamcityserver
parent 7393465696
commit d8d38862d9
77 changed files with 169 additions and 50 deletions
@@ -15,6 +15,7 @@ import kotlin.RequiresOptIn
// Usages with FQ names should be OK
@kotlin.RequiresOptIn(level = kotlin.RequiresOptIn.Level.ERROR)
@Retention(AnnotationRetention.BINARY)
annotation class M