[fir2ir] Allow non-cached type parameters
In the IDE, there might come declarations from other files/modules that we link against, but not compile. Type parameters are one of such declaration kinds.
This commit is contained in:
+1
@@ -281,6 +281,7 @@ open class IncrementalFirJvmCompilerRunner(
|
||||
evaluatedConstTracker = configuration
|
||||
.putIfAbsent(CommonConfigurationKeys.EVALUATED_CONST_TRACKER, EvaluatedConstTracker.create()),
|
||||
inlineConstTracker = configuration[CommonConfigurationKeys.INLINE_CONST_TRACKER],
|
||||
allowNonCachedDeclarations = false,
|
||||
)
|
||||
val irGenerationExtensions =
|
||||
(projectEnvironment as? VfsBasedProjectEnvironment)?.project?.let { IrGenerationExtension.getInstances(it) }.orEmpty()
|
||||
|
||||
Reference in New Issue
Block a user