Kotlin / kotlin-interactive-shell

Kotlin Language Interactive Shell
Apache License 2.0
587 stars 36 forks source link

Incompatible with Kotlin 2.0 #131

Open oxisto opened 2 months ago

oxisto commented 2 months ago

It seems the ki-shell is incompatible with Kotlin 2.0. We now get the following errors when we try to execute code; more specifically if we call any function (just assigning variables does not seem to trigger it):

The root cause java.lang.IllegalStateException was thrown at: org.jetbrains.kotlin.ir.util.SymbolTableSlice$Scoped.noScope(SymbolTableSlice.kt:178) (Line_16.kts): org.jetbrains.kotlin.backend.common.BackendException: Backend Internal error: Exception during psi2ir

I tried manually upgrading the Kotlin version to 2.0 and using the artefact in our project, but that does not help.

Any ideas?