```fun testFun(){ val chars = CharArray(7) }``...
# webassembly
o
Copy code
fun testFun(){
    val chars = CharArray(7)
}
Cannot access 'Cloneable' which is a supertype of 'CharArray'. This may be forbidden soon. Check the module classpath for missing or conflicting dependencies. I am getting the above error, and I cannot figure out why. it only happens in webMain or commonMain if i add it.
r
Do you see this only in the IDE? Or during gradle build as well?
There are a few open issues about problems like that in latest IntelliJ (e.g. https://youtrack.jetbrains.com/issue/KTIJ-33352/Highlighting-MISSINGDEPENDENCYSUPERCLASS-Serializable-in-a-freshly-created-project). I'm also seeing this in my projects.
1
thank you color 1
o
Seems like it is only in the IDE
e
I'm not sure how it is possible to work like that lol. The IDE becomes unusable.
r
Just have to remember not to open some files 😉
😭 1