https://kotlinlang.org logo
#ktor
Title
# ktor
d

Dirk

07/06/2022, 3:31 PM
After switching to Kotlin 1.7.0, my JS application with the Ktor client 2.0.2/2.0.3 throws an exception. Has anyone else observed this?
a

Aleksei Tirman [JB]

07/06/2022, 3:34 PM
Could you please tell me do you use IR or legacy backend for Kotlin/JS?
d

Dirk

07/06/2022, 3:43 PM
I use the IR Backend.
a

Aleksei Tirman [JB]

07/06/2022, 3:45 PM
Is it possible to determine what object should have the method
send
?
d

Dirk

07/06/2022, 3:50 PM
It seems that it has to do with websocket support:
It seems that the problem has something to do with the activation of incremental compilation. If I deactivate the option, the exception is no longer thrown!
a

Aleksei Tirman [JB]

07/06/2022, 4:38 PM
I recommend filing an issue in the Kotlin bug tracker then.
2 Views