My gradle build (task compileKotlinJs
) dies with this. I have no idea what’s causing it. It gives no source code location. Any ideas?
e: java.lang.IllegalStateException: Arrays of class literals are not supported yet
at org.jetbrains.kotlin.serialization.deserialization.AnnotationDeserializer.resolveArrayElementType(AnnotationDeserializer.kt:144)
at org.jetbrains.kotlin.serialization.deserialization.AnnotationDeserializer.resolveValue(AnnotationDeserializer.kt:97)
at org.jetbrains.kotlin.serialization.deserialization.AnnotationDeserializer.resolveArgument(AnnotationDeserializer.kt:64)
at org.jetbrains.kotlin.serialization.deserialization.AnnotationDeserializer.deserializeAnnotation(AnnotationDeserializer.kt:51)
at org.jetbrains.kotlin.serialization.js.KotlinJavascriptPackageFragment$FileHolder$annotations$2.invoke(KotlinJavascriptPackageFragment.kt:70)
at org.jetbrains.kotlin.serialization.js.KotlinJavascriptPackageFragment$FileHolder$annotations$2.invoke(KotlinJavascriptPackageFragment.kt:68)
at org.jetbrains.kotlin.storage.LockBasedStorageManager$LockBasedLazyValue.invoke(LockBasedStorageManager.java:346)
at org.jetbrains.kotlin.storage.LockBasedStorageManager$LockBasedNotNullLazyValue.invoke(LockBasedStorageManager.java:402)
at org.jetbrains.kotlin.storage.StorageKt.getValue(storage.kt:42)