[FIR] move annotation recheck logic to ANNOTATIONS_ARGUMENTS_MAPPING phase
ARGUMENTS_OF_ANNOTATIONS will be dropped, so this check should be moved This commit also drops class annotations resolution from implicit type phase and provides the correct scope during argument mapping phase. This code was effectively unreachable before ^KT-62679
This commit is contained in:
committed by
Space Team
parent
01905a5a06
commit
a60777b9a7
compiler/testData/diagnostics/testsWithStdLib/annotations/annotationTargetResolvedAmbiguously.fir.kt
Vendored
+1
-1
@@ -8,7 +8,7 @@ object Some {
|
||||
CLASS
|
||||
}
|
||||
|
||||
@Target(<!AMBIGUOUS_ANNOTATION_ARGUMENT!>FIELD<!>)
|
||||
@Target(<!AMBIGUOUS_ANNOTATION_ARGUMENT, ARGUMENT_TYPE_MISMATCH!>FIELD<!>)
|
||||
annotation class Ann2
|
||||
|
||||
const val FIELD = ""
|
||||
|
||||
Reference in New Issue
Block a user