Have anyone experienced this error? It happened right after enabling `kapt` in <this file>. ``` &...
i

Iliyan Germanov

over 2 years ago
Have anyone experienced this error? It happened right after enabling
kapt
in this file.
> Task :core:kaptDebugKotlinAndroid
Values of variant API AnnotationProcessorOptions.arguments are queried and may return non final values, this is unsupported
/home/iliyan/work/repo/ivy-wallet/core/build/tmp/kapt3/stubs/debug/ivy/core/domain/AccountCacheKt.java:6: error: cannot access Raise
    private static final java.lang.Object invalidateAffectedCaches(ivy.core.persistence.AccountCachePersistence _context_receiver_0, arrow.core.raise.Raise<? super ivy.core.persistence.data.PersistenceError> _context_receiver_1, java.util.List<? extends ivy.core.persistence.data.ItemChange<? super ivy.core.data.Transaction>> changes, kotlin.coroutines.Continuation<? super kotlin.Unit> $completion) {
                                                                                                                                                     ^
  bad class file: /home/iliyan/.gradle/caches/modules-2/files-2.1/io.arrow-kt/arrow-core-jvm/1.2.0-RC/815591a96f11786ae0ff746a4931fee9c0e46ac4/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.

> Task :core:kaptDebugKotlinAndroid FAILED

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':core:kaptKotlinJvm'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction
   > java.lang.reflect.InvocationTargetException (no error message)