When is the legacy JVM backend slated to be remove...
# compiler
j
When is the legacy JVM backend slated to be removed?
r
This ticket says 1.8, but I doubt it https://youtrack.jetbrains.com/issue/KT-48532/Remove-old-JVM-backend Reason is that the stub generating task still uses the old backend unconditionally and only will use the IR backend with 1.8 by default: https://youtrack.jetbrains.com/issue/KT-53135/Enable-JVM-IR-for-KAPT-stub-generation-by-default So maybe 1.9 or later?
y
Also apparently evaluate expression in the Idea debugger uses the old JVM backend under the hood, so 1.8 definitely doesn't sound realistic from what I can tell https://kotlinlang.slack.com/archives/C7L3JB43G/p1660906346446999?thread_ts=1660905777.813309&cid=C7L3JB43G
u
I think we'll remove the
-Xuse-old-backend
compiler flag (& Gradle option
useOldBackend
) in 1.8, but the code will remain, precisely for the usages mentioned in this thread: kapt stub generation & evaluate expression.