What would be the best way to use multiple modules with Kotlin? More specifically, situation where data classes created in other module are accessed with different modules?
In this case smart cast fails and I have to add ugly
!! modifier everywhere. Is there a way to tell Kotlin compiler to force enable smart cast? All modules are owned by me and always recompiled together, so that kind of security is unnecessary in my case.