[JVM_IR] Don't use plugin extensions when compiling code fragment
When compiling code fragment, we forbid to use `irLinker` as IR provider. Because of that, if there are some plugin extensions, we will not be able to find deserializer for a given module and will fail. #KT-63695 Fixed
This commit is contained in:
+1
-1
@@ -213,7 +213,7 @@ open class JvmIrCodegenFactory(
|
||||
irLinker,
|
||||
messageLogger
|
||||
)
|
||||
if (pluginExtensions.isNotEmpty()) {
|
||||
if (pluginExtensions.isNotEmpty() && !ideCodegenSettings.shouldStubAndNotLinkUnboundSymbols) {
|
||||
for (extension in pluginExtensions) {
|
||||
if (psi2irContext.configuration.generateBodies ||
|
||||
@OptIn(FirIncompatiblePluginAPI::class) extension.shouldAlsoBeAppliedInKaptStubGenerationMode
|
||||
|
||||
Reference in New Issue
Block a user