Thiago
03/06/2024, 5:29 PMConflicting overloads when I'm using expect/actual in a module that have jvm and android targets.
Today I found that this error still happening and I would like to know if Kotlin has solved yet or what is the best approach to avoid it?
// common
expect fun doSomething()
// jvm
actual fun doSomething()
// android
actual fun doSomething() <- Conflicting overloads
Compiler still forcing to implement the actual but don't build and report Conflicting overloadsMatt Nelson
03/06/2024, 10:14 PMjvm and android inherit from
e.g.
commonMain
|
|--- jvmAndroidMain
| |--- androidMain
| '--- jvmMain
'--- nonJvmMain
|...