FIR: Implement lookup tracking
This commit is contained in:
+1
-3
@@ -333,6 +333,7 @@ object KotlinToJVMBytecodeCompiler {
|
||||
languageVersionSettings,
|
||||
sourceScope,
|
||||
librariesScope,
|
||||
lookupTracker = environment.configuration.get(CommonConfigurationKeys.LOOKUP_TRACKER),
|
||||
environment::createPackagePartProvider
|
||||
) {
|
||||
if (extendedAnalysisMode) {
|
||||
@@ -350,9 +351,6 @@ 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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user