Remove compiledWithErrors param
`updateIncrementalCache` is not called when code does not compile.
This commit is contained in:
+1
-1
@@ -318,7 +318,7 @@ class IncrementalJvmCompilerRunner(
|
||||
|
||||
allGeneratedFiles.addAll(generatedFiles)
|
||||
caches.inputsCache.registerOutputForSourceFiles(generatedFiles)
|
||||
val compilationResult = updateIncrementalCache(generatedFiles, caches.jvmCache, compiledWithErrors = exitCode != ExitCode.OK)
|
||||
val compilationResult = updateIncrementalCache(generatedFiles, caches.platformCache)
|
||||
|
||||
caches.lookupCache.update(lookupTracker, sourcesToCompile, removedKotlinSources)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user