FIR: add incremental compilation tests

This commit is contained in:
Ilya Chernikov
2020-11-30 10:32:29 +01:00
parent 6cc39788fd
commit 7d29ae7cce
5 changed files with 2659 additions and 1 deletions
@@ -350,6 +350,9 @@ object KotlinToJVMBytecodeCompiler {
)
performanceManager?.notifyAnalysisFinished()
// TODO: maybe we should not do it in presence of errors, but tests at the moment expect lookups to be reported
session.firLookupTracker?.flushLookups()
if (syntaxErrors || firDiagnostics.any { it.severity == Severity.ERROR }) {
return false
}