IDE can't find import in KMP module's commonMain source set #6
Comments
What task are you running? Doing |
Hm, I just meant AndroidStudio can't resolve the import in |
I've never actually built this thing for js/iOS, it's just sort of a stub project to show off stuff that is weird about KMP |
I wonder if "The @exhaustive annotation will be made available in your main and test source sets" means that it just finds the |
I think it's an IDE plugin bug. The classpaths all appear correct with the If you add the annotation dependency manually to I created https://youtrack.jetbrains.com/issue/KT-43385 to track. Closing this unless they come back with changes needed on our side. |
Going to leave this open, actually. It's super annoying and I expect others to run into it. |
I've added the plugin to both my android app module and my KMP module but the import for the
Exhaustive
annotation can't be found in the KMP module'scommonMain
source set. It works fine in theandroidMain
source set.https://github.com/edenman/kmpPlayground/compare/edenman/exhaustive-when
The text was updated successfully, but these errors were encountered: