Also, can you give more concrete example. (If the annotation doesn't work)
d
Dico
01/14/2020, 2:28 PM
I typically use
.common.kt
and
.jvm.kt
prefix or avoid definitions in common file. JvmName is also a good solution.
b
Big Chungus
01/14/2020, 5:07 PM
Turns out if you have top level expect fun and then some real code in the same file it becomes an error. But if it's just expects in the file, everyting works
d
Dico
01/14/2020, 10:29 PM
Yeah exactly, that's what I meant with definitions