[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:
+2
-1
@@ -90,7 +90,8 @@ internal class KtFirCompilerFacility(
|
||||
diagnosticsReporter,
|
||||
linkViaSignatures = false,
|
||||
effectiveConfiguration[CommonConfigurationKeys.EVALUATED_CONST_TRACKER] ?: EvaluatedConstTracker.create(),
|
||||
effectiveConfiguration[CommonConfigurationKeys.INLINE_CONST_TRACKER]
|
||||
effectiveConfiguration[CommonConfigurationKeys.INLINE_CONST_TRACKER],
|
||||
allowNonCachedDeclarations = true
|
||||
)
|
||||
|
||||
val fir2IrResult = Fir2IrConverter.createModuleFragmentWithSignaturesIfNeeded(
|
||||
|
||||
Reference in New Issue
Block a user