Request CHUNK_REBUILD when IC is off and there are dirty Kotlin files
Otherwise unexpected compile error might happen,
when there are Groovy files, but they are not dirty,
so Groovy builder does not generate source stubs,
and Kotlin builder is filtering out output directory
from classpath (because it may contain outdated Java classes).
Previously the issue was not detected,
because it was not possible to turn off the IC completely (in JPS),
only switch to the legacy IC.
#KT-20138
This commit is contained in:
+12
@@ -9,6 +9,12 @@ Cleaning output files:
|
||||
out/production/module2/META-INF/module2.kotlin_module
|
||||
out/production/module2/foo/AKt.class
|
||||
End of files
|
||||
Exit code: CHUNK_REBUILD_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module2/foo/BKt.class
|
||||
out/production/module2/foo/CKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
module2/src/a.kt
|
||||
module2/src/b.kt
|
||||
@@ -33,6 +39,12 @@ Cleaning output files:
|
||||
out/production/module2/META-INF/module2.kotlin_module
|
||||
out/production/module2/foo/AKt.class
|
||||
End of files
|
||||
Exit code: CHUNK_REBUILD_REQUIRED
|
||||
------------------------------------------
|
||||
Cleaning output files:
|
||||
out/production/module2/foo/BKt.class
|
||||
out/production/module2/foo/CKt.class
|
||||
End of files
|
||||
Compiling files:
|
||||
module2/src/a.kt
|
||||
module2/src/b.kt
|
||||
|
||||
Reference in New Issue
Block a user