https://kotlinlang.org logo
#scripting
Title
# scripting
l

louiscad

09/06/2023, 6:17 PM
Why is
1.seconds
not compiling when put in a
.ws.kts
file? This is the error I'm getting:
Copy code
Back-end (JVM) Internal error: Couldn't inline method call: seconds
Method: null
File being compiled: (13,45) in /tmp.kt
The root cause java.lang.IllegalStateException was thrown at: org.jetbrains.kotlin.codegen.inline.SourceCompilerForInlineKt.getMethodNode(SourceCompilerForInline.kt:118)
Are Kotlin Worksheets using the old JVM backend instead of JVM IR, or is the problem something else?
i

Ilya Muradyan

09/06/2023, 10:57 PM
Possibly should be reopened
8 Views