Unify processing of removed files for JS and JVM IC
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ package org.jetbrains.kotlin.incremental
|
||||
import org.jetbrains.kotlin.incremental.storage.BasicMapsOwner
|
||||
import java.io.File
|
||||
|
||||
abstract class IncrementalCachesManager<PlatformCache : IncrementalCacheCommon>(
|
||||
abstract class IncrementalCachesManager<PlatformCache : IncrementalCacheCommon<*>>(
|
||||
protected val cachesRootDir: File,
|
||||
protected val reporter: ICReporter
|
||||
) {
|
||||
|
||||
+2
-1
@@ -121,7 +121,8 @@ class IncrementalJsCompilerRunner(
|
||||
val jsCache = caches.platformCache
|
||||
jsCache.header = incrementalResults.headerMetadata
|
||||
|
||||
return jsCache.compareAndUpdate(incrementalResults, changesCollector)
|
||||
jsCache.compareAndUpdate(incrementalResults, changesCollector)
|
||||
jsCache.clearCacheForRemovedClasses(changesCollector)
|
||||
}
|
||||
|
||||
override fun runCompiler(
|
||||
|
||||
Reference in New Issue
Block a user