I have a crossProject which has JVM, JS and shared sources. Now, in jvm and js directories, I have individual implementations of an object, let's call it "somepackage.SomeObject" for now.
When I now reference this object somewhere in the "shared" source tree, IDEA highlights it as an error (i.e., makes it red) and complains it cannot find the object. However, "Build / Rebuild project" works, and "sbt compile" too.
Is this bug or some misconfiguration of my project structure?