I frequently get this error message in my multi module project. Error goes away after I clean the project. Really annoying.
l
louiscad
03/27/2020, 7:54 AM
Multi-module ≠ Multiplatform
You can report the issue on kotl.in/issue and attach the reproducing project (privately if needed), and mention IDE info (copy pasted from about window), and used Kotlin version in project and IDE plugin.
o
Orhan Tozan
03/27/2020, 11:11 AM
It is also a multiplatform
t
taso
03/28/2020, 3:44 PM
I'm having similar issues. Also with Exceptions. It warns that I cannot use our FooException class (defined in Kotlin mpp common) inside catch since it expects Throwable. It's an IDE issue. Everything compiles just fine.