[LL FIR] Temporarily stub common FIR session factory with JVM

A measure to not break tests until common session factory impl is ready

KT-58769
This commit is contained in:
Pavel Kirpichenkov
2023-04-25 15:32:39 +03:00
committed by Space Team
parent 2a79643dcf
commit 88d68f77e5
@@ -93,7 +93,8 @@ internal class LLFirSessionCache(private val project: Project) {
targetPlatform.all { it is JvmPlatform } -> LLFirJvmSessionFactory(project)
targetPlatform.all { it is JsPlatform } -> LLFirJsSessionFactory(project)
targetPlatform.all { it is NativePlatform } -> LLFirNativeSessionFactory(project)
else -> LLFirCommonSessionFactory(project)
// TODO(kirpichenkov): falling back to JVM. Common session factory hasn't been implemented correctly yet and breaks tests
else -> LLFirJvmSessionFactory(project)
}
}
}