Always run codegen when IC is enabled
We may need to run code generation when no source files are specified
for incremental compilation (to update caches & metadata)
Original commit: 97d3d38374
This commit is contained in:
+5
@@ -752,6 +752,11 @@ public class IncrementalJpsTestGenerated extends AbstractIncrementalJpsTest {
|
|||||||
runTest("jps-plugin/testData/incremental/pureKotlin/classRecreated/");
|
runTest("jps-plugin/testData/incremental/pureKotlin/classRecreated/");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("classRemoved")
|
||||||
|
public void testClassRemoved() throws Exception {
|
||||||
|
runTest("jps-plugin/testData/incremental/pureKotlin/classRemoved/");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("classSignatureChanged")
|
@TestMetadata("classSignatureChanged")
|
||||||
public void testClassSignatureChanged() throws Exception {
|
public void testClassSignatureChanged() throws Exception {
|
||||||
runTest("jps-plugin/testData/incremental/pureKotlin/classSignatureChanged/");
|
runTest("jps-plugin/testData/incremental/pureKotlin/classSignatureChanged/");
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
package test
|
||||||
|
|
||||||
|
class A
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
================ Step #1 =================
|
||||||
|
|
||||||
|
Cleaning output files:
|
||||||
|
out/production/module/META-INF/module.kotlin_module
|
||||||
|
out/production/module/test/A.class
|
||||||
|
End of files
|
||||||
|
Compiling files:
|
||||||
|
End of files
|
||||||
|
Exit code: OK
|
||||||
|
------------------------------------------
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
package test
|
||||||
|
|
||||||
|
fun other() {
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user