What is the recommended way to migrate `FirSession...
# compiler
m
What is the recommended way to migrate
FirSessionFactoryHelper.INSTANCE.createSessionWithDependencies
when moving to Kotlin +2.1? The usage is in Openrewrite https://github.com/openrewrite/rewrite/blob/main/rewrite-kotlin/src/main/java/org/openrewrite/kotlin/KotlinParser.java#L475
d
Most of production methods of session creation were migrated to the unified SessionConstructionUtils.prepareSessions utility. The same file contains methods like
prepareJsSessions
and
prepareNativeSessions
for specific platforms. Proper
prepareJvmSessions
is declared inside JvmFrontendPipelinePhase and I expect that utilities for other platforms would be eventually moved to similar phases too in the future