https://kotlinlang.org logo
#kotest
Title
# kotest
p

Peter

04/05/2022, 7:35 AM
anyone else having a problem with with
5.2.2
- i think it may be related to the new
1.6.1
coroutine release from yesterday?
Copy code
Caused by:
        java.lang.AbstractMethodError: Receiver class io.kotest.assertions.ErrorCollectorContextElement does not define or inherit an implementation of the resolved method 'abstract kotlinx.coroutines.CopyableThreadContextElement copyForChild()' of interface kotlinx.coroutines.CopyableThreadContextElement.
still digging
seems to work fine if i strictly require kotlinx coroutines
1.6.0
s

sam

04/05/2022, 12:04 PM
Looks like they made a breaking change in 1.6.1
o

Oliver.O

04/05/2022, 1:01 PM
Yes, a method has been renamed. I‘m working on the kotest part.
p

Peter

04/05/2022, 1:05 PM
Annoying that they don't use semver appropriately to indicate that
👍🏻 1
o

Oliver.O

04/05/2022, 1:07 PM
Or use a deprecation cycle…
💯 1
c

christophsturm

04/05/2022, 2:28 PM
its an
ExperimentalCoroutinesApi
s

sam

04/05/2022, 2:34 PM
So is half the std lib
👍 2
😅 4
o

Oliver.O

04/05/2022, 4:30 PM
Found out that there is a PR for the issue: https://github.com/kotest/kotest/pull/2912 Have commented on that and will not push another one.
c

christophsturm

04/08/2022, 8:04 AM
will there be a release soon with this fix?
🤞 1
s

sam

04/12/2022, 1:30 PM
5.2.3 was released a couple of days ago, sorry for not posting sooner
👍 1
c

christophsturm

04/12/2022, 1:42 PM
yes i am already using it, it works great now.
🎉 1
19 Views