https://kotlinlang.org logo
#compiler
Title
# compiler
t

Tim McCormack

09/23/2023, 11:04 PM
I think I've been seeing bad compilations when using
kotlin.compiler.incremental
in my JVM project -- old code being included in the compilation, or rather, not being recompiled when I do
mvn test
. I don't think this was happening a few months ago. Is incremental compilation supposed to be stable enough at this point where I shouldn't be seeing such things, or is it that experimental? :-)
It's also possible that something has changed in my environment, or there's a mismatch between mvn compilations from the command line and what's happening when IntelliJ compiles, or some change in IntelliJ... and obviously it's incredibly difficult to reproduce this behavior, except that when I do
mvn clean test
suddenly things start working again.
d

dmitriy.novozhilov

10/04/2023, 7:56 AM
cc @Aleksei Cherepanov
e

Evgenii Mazhukin

10/04/2023, 1:28 PM
@Tim McCormack Hello, sorry for late reply. Did you notice any patterns that would help us reproduce the issue? It'd be perfect if you have a repository with sample project and a way to trigger the incorrect incremental compilation.