Vinicius
03/08/2025, 2:05 AMexpect and corresponding actual are declared in the same module, which will be prohibited in Kotlin 2.0. See https:// youtrack. jetbrains. com/ issue/ KT-55177
more details on thread.Vinicius
03/08/2025, 2:06 AMVinicius
03/08/2025, 2:07 AMdarkmoon_uk
03/08/2025, 4:44 AMcommon
vs android
source-sets here; but my hunch is that the term 'module' is being overloaded here. Since I recall IntelliJ's internal model of KMP is a 'module per source set' the real meaning of the message may merely be that they have to be in different source-sets (as expected). Is it possible you've accidently got an actual
in the same source-set as the expect
?Vinicius
03/08/2025, 8:43 PMdarkmoon_uk
03/08/2025, 8:51 PMdarkmoon_uk
03/08/2025, 8:52 PMcommonMain
and androidMain
are effectively the same thing as commonMain
is the computed intersection of the API's of your included targets.Vinicius
03/10/2025, 12:03 AMMichael Krussel
03/10/2025, 1:15 PMandroidMain
and `commonMain`are marked as belonging to the main
source set, which is the name used for the Android main source set.