-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type mismatch errors in the IDE #5
Comments
Sorry for the late reply — I just got back from a vacation so catching up on things. Thanks for investigating this issue! Unfortunately, Intellij's support for |
In addition to the type mismatch errors - I tried implementing a remote mediator and I could get the code to compile. I got the following issues when extending the
|
@danailalexiev Good catch! That should be fixed in the next release by #46. |
Same for compose multiplatform paging, i get type mismatches all over https://github.com/cashapp/multiplatform-paging/tree/main-3.2.0-alpha05. |
Hey, first of all, thanks for working on this, it's great to see the multiplatform ecosystem growing daily.
While integrating this library into a personal project, the IDE shows many "type mismatch" errors in the common code, I tried different combinations of Kotlin/AGP/AS and even Intellij IDEA versions, and the same happens in all of them. An example of the errors is:
To investigate this, I cloned the main repo to try the sample app, and while it didn't occur when the library was imported as a project, it occurred when I updated the sample app to import the "module dependency` instead.
I also tried composite builds as an attempt to fix the issue in my project, but it didn't solve the issue.
This error looks similar to this bug report https://youtrack.jetbrains.com/issue/KT-46691/MPP-Type-mismatch-for-hierarchically-commonized-typealiases#focus=Comments-27-4921124.0-0, maybe the applied fix works only when referencing the module as a
project
and not as amodule dependency
.The text was updated successfully, but these errors were encountered: