r

    ribesg

    3 years ago
    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
    Jan Stoltman

    Jan Stoltman

    3 years ago
    Doesn't your
    androidMain
    by any chance depend on
    jvmMain
    ?
    r

    ribesg

    3 years ago
    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”
    Sebastian Sellmair [JB]

    Sebastian Sellmair [JB]

    3 years ago
    I think there is a ticket for this. I'll try to find this for you ☺️