ankushg
10/29/2018, 6:31 PMutils/TimeUtils.kt in my commonMain source set, with a top-level expect fun getCurrentTime(): Long declaration. I've also defined a file TimeUtils.kt in my jvmMain source set, in the same utils package, with an actual fun getCurrentTime(): Long = System.currentTimeMillis().
Attempting to build this project is giving me an error: Duplicate JVM class name 'utils/TimeUtilsKt' generated from: package-fragment utils, package-fragment utils
Is this supposed to be allowed? Using @file:JvmMultifileClass doesn't fix the issue either... Do the files just have to be named differently altogether?ilya.gorbunov
10/29/2018, 6:43 PMankushg
10/29/2018, 6:49 PM