[FIR] Part 3. Setup running platform checkers in CLI

^KT-58881
This commit is contained in:
Dmitriy Novozhilov
2024-01-09 13:23:18 +02:00
committed by Nikolay Lunyak
parent c4e4776c5e
commit ed874262e3
9 changed files with 31 additions and 7 deletions
@@ -176,6 +176,7 @@ fun compileModuleToAnalyzedFirWithPsi(
},
useWasmPlatform = useWasmPlatform,
)
output.runPlatformCheckers(diagnosticsReporter)
return AnalyzedFirWithPsiOutput(output, ktFiles)
}
@@ -204,6 +205,7 @@ fun compileModulesToAnalyzedFirWithLightTree(
},
useWasmPlatform = useWasmPlatform,
)
output.runPlatformCheckers(diagnosticsReporter)
return AnalyzedFirOutput(output)
}