https://kotlinlang.org logo
Title
a

Animesh Sahu

01/21/2021, 5:18 AM
Does assertion library support JS-IR?
Seems like it does support by looking at the gradle build files, but idk why I'm getting a huge set of errors when trying to set
js(IR)
(in IR mode) :blob-thinking-upside-down: Stacktrace: https://paste.ofcode.org/uHVEKb9aUXeZxsacE9Ruxs
s

sam

01/21/2021, 5:38 AM
IR is not supported until a bug in kotlin is fixed. This is the PR https://github.com/kotest/kotest/pull/1875
1.4.30 might have fixed the bug and we could try then.
This was the bug, looks like its fixed in 1.4.30 https://youtrack.jetbrains.com/issue/KT-41076
a

Animesh Sahu

01/21/2021, 6:02 AM
Oh! thanks for clarification 🙂👍
Wait a min, I was asking about
kotest-assertions-core
👀
Ohkk,
4.4.0.RC2
seems to solve the issue, probably last stable version 4.3.2 didn't had the IR support 😅
s

sam

01/27/2021, 4:20 AM
Yeah that's new in 4.4
👍 1