James Eschner
06/09/2022, 4:00 PM1.7.0
and am seeing this in Kotest:
Found interface kotlin.time.TimeMark, but class was expected
java.lang.IncompatibleClassChangeError: Found interface kotlin.time.TimeMark, but class was expected
at io.kotest.engine.spec.interceptor.SpecFinishedInterceptor.intercept-0E7RQCE(SpecFinishedInterceptor.kt:37)
at io.kotest.engine.spec.interceptor.SpecFinishedInterceptor$intercept$1.invokeSuspend(SpecFinishedInterceptor.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
do I need to wait for a new Kotest version?
** Not a contributionsam
06/09/2022, 5:15 PMSebastian Schuberth
06/09/2022, 5:21 PMthol01
06/13/2022, 11:22 AMsam
06/13/2022, 3:49 PMsimon.vergauwen
01/25/2023, 9:27 AMkotlin.time.*
😭
This package has been incredibly unstable since it was first added in 1.3 😕sam
01/25/2023, 9:46 AMsimon.vergauwen
01/25/2023, 9:47 AMsam
01/25/2023, 11:00 AMsimon.vergauwen
01/25/2023, 11:01 AMFound interface kotlin.time.TimeMark, but class was expected
error.sam
01/25/2023, 11:02 AMsimon.vergauwen
01/25/2023, 11:04 AMsam
01/25/2023, 11:07 AMsimon.vergauwen
01/25/2023, 2:00 PMkotlin.time
conflict?sam
01/25/2023, 2:19 PMsimon.vergauwen
01/25/2023, 2:22 PMKshitij Patil
02/20/2023, 2:37 PMkotlin.time.Duration
in one of the modules (not using Kotest). We’re currently using kotlin 1.6.21
and I’m guessing there’s no point upgrading just to fix this issue as you’re getting same in 1.8.0
. Do you know any workaround? As of now, I simply moved to java.time.Duration
with coreLibraryDesugaring