I am running into a weird issue when bumping to Ko...
# compiler
s
I am running into a weird issue when bumping to Kotlin 1.9.0, not sure if anyone has already run into this. I couldn't find anything related on YouTrack.
TypeError: _get_rawValue__5zfu4e(...).compareTo_n4fqi2_k$ is not a function
Seems to be cause by Duration#compareTo, you can see it fail the Arrow build here. It's only affect Kotlin/JS but both for node, and browser.
The test reports with stacktrace are available here, https://github.com/arrow-kt/arrow/suites/14175996983/artifacts/794787313
m
I have a similar issue for Kotlin/JS for a custom wrapper of react-virtualized. Apparently it has something to do with the IR compiler because in 1.8.20 I only get `is not a function`` when using the IR compiler while it works when switching to the LEGACY compiler . My issue is no longer present in 1.9.0.
s
@Moritz Hofmeister how did you fix it? 😮
It appeared for me on 1.9.0, maybe a transitive dependency somewhere with 1.8.x in my test framework? 🤔
m
That could be 🤔 For me the issue really just disappeared after updating all submodules :)
a
these are the dependencies that Gradle gives me for
jsTest
on the project, it seems everything is 1.9.0 except the `atomicfu-runtime`…