diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/compiler/based/SealedClassesInheritorsCaclulatorPreAnalysisHandler.kt b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/compiler/based/SealedClassesInheritorsCaclulatorPreAnalysisHandler.kt index dca574a9bad..7fb93624a22 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/compiler/based/SealedClassesInheritorsCaclulatorPreAnalysisHandler.kt +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/compiler/based/SealedClassesInheritorsCaclulatorPreAnalysisHandler.kt @@ -42,7 +42,9 @@ class SealedClassesInheritorsCaclulatorPreAnalysisHandler( } val ktFilesByModule = moduleStructure.modules.associateWith { testModule -> - testServices.ktModuleProvider.getModuleFiles(testModule).filterIsInstance() + testServices.ktModuleProvider.getModuleFiles(testModule) + .filterIsInstance() + .filterNot(KtFile::isCompiled) } for ((testModule, ktFiles) in ktFilesByModule) {