[FIR] KT-57214: Check the annotations "if possible"

^KT-57214 Fixed

Merge-request: KT-MR-9170
Merged-by: Nikolay Lunyak <Nikolay.Lunyak@jetbrains.com>
This commit is contained in:
Nikolay Lunyak
2023-03-14 10:25:02 +00:00
committed by Space Team
parent 854506fa9e
commit c105e63bbb
6 changed files with 46 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
// FIR_IDENTICAL
// MODULE: a
// FILE: A.kt
//class FirstClass : SecondClass()
//
//open class SecondClass
class ConfigurationTarget(@ConfigField val target: String)
@Retention(AnnotationRetention.RUNTIME)
annotation class ConfigField()
// MODULE: b
// FILE: B.kt
@Retention(AnnotationRetention.RUNTIME)
annotation class ConfigField()
class ConfigurationTarget(@ConfigField val target: String)