Stylianos Gakis
01/26/2023, 3:26 PMDatePickerDialog
has any expect/actual keywords or whatnot.
So I guess my question is, I’ve seen this “[filename].[platformname].kt” naming convention, but is it specified somewhere how the decision to add the [platformname] is made?jw
01/26/2023, 3:30 PM.class
and the inability to produce duplicate names. And it's only required when you have the same-named files in common and a jvm or android source set AND those files have top-level declarations (i.e., will produce a classfile with the name FilenameKt.class
.Stylianos Gakis
01/26/2023, 3:32 PMjw
01/26/2023, 3:36 PM> Task :mosaic-runtime:compileKotlinJvm FAILED
e: file:///Volumes/dev/JakeWharton/mosaic/mosaic-runtime/src/commonMain/kotlin/com/jakewharton/mosaic/platform.kt:1:1 Duplicate JVM class name 'com/jakewharton/mosaic/PlatformKt' generated from: PlatformKt, PlatformKt
e: file:///Volumes/dev/JakeWharton/mosaic/mosaic-runtime/src/jvmMain/kotlin/com/jakewharton/mosaic/platform.kt:1:1 Duplicate JVM class name 'com/jakewharton/mosaic/PlatformKt' generated from: PlatformKt, PlatformKt
Stylianos Gakis
01/26/2023, 3:38 PMLandry Norris
01/26/2023, 3:38 PMCLOVIS
01/26/2023, 3:54 PM@file:JvmName("FileNameJvm")
at the start of the file. Not sure if it works for Androidjw
01/26/2023, 3:59 PMLandry Norris
01/26/2023, 3:59 PMeygraber
01/26/2023, 4:35 PMLandry Norris
01/26/2023, 4:39 PMjw
01/26/2023, 4:45 PMeygraber
01/26/2023, 4:46 PMLandry Norris
01/26/2023, 4:46 PMjw
01/26/2023, 4:50 PMLandry Norris
01/26/2023, 5:32 PMjw
01/26/2023, 5:34 PM