[FIR] Prevent reporting ACTUAL_ANNOTATIONS_NOT_MATCH_EXPECT twice in CLI
It is duplicated because we have two checkers: FIR (for IDE support
in simple cases) and IR ("honest" checker supporting all cases).
Fix this by running FIR checker only in IDE.
FIR checker behavior remains covered by tests in
`LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated`.
^KT-62559 Fixed
This commit is contained in:
committed by
Space Team
parent
a466b14264
commit
fcc6f873c7
+1
@@ -80,6 +80,7 @@ private object CheckersFactory {
|
||||
} else {
|
||||
createDeclarationCheckers {
|
||||
add(CommonDeclarationCheckers)
|
||||
add(CommonIdeOnlyDeclarationCheckers)
|
||||
when {
|
||||
platform.isJvm() -> add(JvmDeclarationCheckers)
|
||||
platform.isJs() -> add(JsDeclarationCheckers)
|
||||
|
||||
Reference in New Issue
Block a user