martmists
05/14/2024, 8:10 AM2024-05-14 09:41:20,895 [ 204886] SEVERE - #c.i.c.d.i.PassExecutorService - Kotlin resolution encountered a problem while analyzing KtNameReferenceExpression:
Class COpaque is not found
org.jetbrains.kotlin.idea.caches.resolve.KotlinIdeaResolutionException: Kotlin resolution encountered a problem while analyzing KtNameReferenceExpression:
Class COpaque is not found
I've tried clearing IDE caches, gradle caches, and deleting the .gradle and build folders. What else can I try to fix this?
Also, when I try to build it, I get
Compilation failed: Front-end Internal error: Failed to analyze declaration BoundJNIArray
File being compiled: (14,1) in /home/mart/git/experiments/stream-stuff/libraries/jni-util/src/nativeMain/kotlin/com/martmists/jni/array.kt
The root cause org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException was thrown at: org.jetbrains.kotlin.protobuf.InvalidProtocolBufferException.invalidWireType(InvalidProtocolBufferException.java:99)
* Source files: array.kt, core.kt, fields.kt, native.kt
* Compiler version: 1.9.21
* Output kind: LIBRARY