Sometimes when I do refactoring like rename/delete/create class field/constructor parameter I get compilation errors that I don't call constructor with right parameters even that I/IDEA did update all call sites correctly. IDEA thinks that everything is OK (which it is) in editor, but when I run tests or compilation I get these compilation errors. Calling
gradle
from command line also works, and it does not fail with these errors. Does this happens to anyone else?