bj0
05/15/2023, 11:18 PM> Task :cfe:kaptDebugKotlin FAILED
/mnt/data/code/android/app/app/build/tmp/kapt3/stubs/debug/.../app/MessageServiceKt.java:13: error: cannot access Raise
arrow.core.raise.Raise<? super CommandError> $this$parseMessage, @org.jetbrains.annotations.Nullable
^
bad class file: /home/user/.gradle/caches/transforms-3/3dfc757af27868464b7f0dfba03b664d/transformed/jetified-arrow-core-jvm-1.2.0-RC.jar(/arrow/core/raise/Raise.class)
undeclared type variable: T
Please remove or make sure it appears in the correct subdirectory of the classpath.
I tried searching but Google only has 2 hits, one is an unanswered github issue on the dagger project and the other is a log of this chat from 3 weeks ago that said "maybe it will be fixed in 1.8.21" (it isn't). Anyone know the cause or a workaround to this issue?simon.vergauwen
05/16/2023, 5:09 AMRaise
is just an interface
.
Is Raise
and any kapt related code in the same file? Someone reported to me that moving it to a separate file fixed the problem for thembj0
05/16/2023, 3:55 PMdata class
which is @Serializable
bad class file
to the downloaded arrow-core-jvm
file?simon.vergauwen
05/16/2023, 4:48 PM@Serializable
from KotlinX is not kapt but a compiler pluginbj0
05/16/2023, 5:32 PMjvmTarget
https://youtrack.jetbrains.com/issue/KT-55947)Raise