Hello everyone I'm having trouble figuring out an ...
# multiplatform
m
Hello everyone I'm having trouble figuring out an unresolved reference I'm fairly certain i've used those imports before
Copy code
import kotlin.reflect.full.findAnnotation
import kotlin.reflect.full.primaryConstructor
but now all I'm getting is Unresolved reference: full although
Copy code
import kotlin.reflect.KClass
seems to work perfectly fine. not sure what im missing to be honest, but any assistance would be highly appreciated
c
It’s JVM only. You are not trying to access is in common code? https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect.full/
m
Hello Christian, thanks for the reply! I am infact trying to access it in JVM, it works fine in androidMain as well, I have the dependencies set to both.
c
Maybe ask in #C0AVAB92L
m
Oh had had no idea that existed, cheers @Chrimaeon