We are having an issue with compiling kotlin from ...
# intellij
z
We are having an issue with compiling kotlin from Intellij after the upgrade to 1.1.2 - basically what happens is that if we make a change in module 1, then module 2 that depends on it does not detect this change. However, the editor does mark the code as red and uncompilable, but "Build Project" will give happily still compile, not seeing the change in module 1. This obviously leads to runtime errors like NoSuchMethod and so on. We tried to reproduce it with a minimal project but were unable, so we are pretty much at a loss as what to do. We have been doing kotlin for more than 9 months, and we are certain it only happened after the upgrade to kotlin 1.1.2. Compiling from gradle also works just fine. Are there any debug switches or anything we can enable so we can get gather more data? As I take it it is very hard to find the bug from the info I can provide so far. I'm thinking maybe some debug output of the classes that are being recompiled upon "Build Project"? 2 replies I have created an issue regarding this: https://youtrack.jetbrains.com/issue/IDEA-172784