Mark removed source file as deleted for compiler

#KT-55905 Fixed
This commit is contained in:
nataliya.valtman
2023-01-18 18:33:39 +01:00
committed by Space Team
parent c1420794b4
commit 3aade8ad95
3 changed files with 25 additions and 1 deletions
@@ -469,7 +469,7 @@ abstract class IncrementalCompilerRunner<
val lookupTracker = LookupTrackerImpl(LookupTracker.DO_NOTHING)
val expectActualTracker = ExpectActualTrackerImpl()
//TODO(valtman) sourceToCompile calculate based on abiSnapshot
val (sourcesToCompile, removedKotlinSources) = dirtySources.partition(File::exists)
val (sourcesToCompile, removedKotlinSources) = dirtySources.partition { it.exists() && allKotlinSources.contains(it) }
val services = makeServices(
args, lookupTracker, expectActualTracker, caches,