I have a class in my `commonMain` module and 2 ext...
# multiplatform
r
I have a class in my
commonMain
module and 2 extension functions in my
androidMain
and
jvmMain
modules which happen to have the same prototype. IntelliJ is complaining in the
androidMain
module when I use this extension that it doesn’t know which one to use because it’s defined twice. The problem doesn’t occur in
jvmMain
and everything compiles fine, it’s IntelliJ being lost I suppose
j
Doesn't your
androidMain
by any chance depend on
jvmMain
?
r
Well I didn’t do anything for that to happen and I don’t think it does that by default, unless it’s new. Also, it would not compile with Gradle if that was the case. Here it’s only IntelliJ that sees this “error”
s
I think there is a ticket for this. I'll try to find this for you ☺️