From ab069cb7f4a08dec799421c2081a74964e2f3a55 Mon Sep 17 00:00:00 2001 From: Nikita Bobko Date: Mon, 4 Mar 2024 14:45:39 +0100 Subject: [PATCH] [test] Use correct FirOutputPartForDependsOnModule for running checkers that run in common session Review: https://jetbrains.team/p/kt/reviews/14807 Motivation: no motivation, I was just passing by and noticed this bug. It looks like this commit doesn't affect any tests --- .../kotlin/test/frontend/fir/handlers/FirDiagnosticsHandler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/handlers/FirDiagnosticsHandler.kt b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/handlers/FirDiagnosticsHandler.kt index cc4641f1222..a8937db06cc 100644 --- a/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/handlers/FirDiagnosticsHandler.kt +++ b/compiler/tests-common-new/tests/org/jetbrains/kotlin/test/frontend/fir/handlers/FirDiagnosticsHandler.kt @@ -643,7 +643,7 @@ open class FirDiagnosticCollectorService(val testServices: TestServices) : TestS for (part in info.partsForDependsOnModules) { result += part.session.runCheckers( - platformPart.firAnalyzerFacade.scopeSession, + part.firAnalyzerFacade.scopeSession, part.firFiles.values, DiagnosticReporterFactory.createPendingReporter(), mppCheckerKind = MppCheckerKind.Common