[IC] Restore old IncrementalCompilationContext constructor for KSP compatibility
This commit is contained in:
committed by
Space Team
parent
4d1ea3c441
commit
51a43a02f7
@@ -28,6 +28,24 @@ class IncrementalCompilationContext(
|
|||||||
*/
|
*/
|
||||||
val keepIncrementalCompilationCachesInMemory: Boolean = false,
|
val keepIncrementalCompilationCachesInMemory: Boolean = false,
|
||||||
) {
|
) {
|
||||||
|
@Deprecated("This constructor is scheduled to be removed. KSP is using it")
|
||||||
|
constructor(
|
||||||
|
pathConverter: FileToPathConverter,
|
||||||
|
storeFullFqNamesInLookupCache: Boolean = false,
|
||||||
|
transaction: CompilationTransaction = NonRecoverableCompilationTransaction(),
|
||||||
|
reporter: ICReporter = DoNothingICReporter,
|
||||||
|
trackChangesInLookupCache: Boolean = false,
|
||||||
|
keepIncrementalCompilationCachesInMemory: Boolean = false,
|
||||||
|
) : this(
|
||||||
|
pathConverter,
|
||||||
|
pathConverter,
|
||||||
|
storeFullFqNamesInLookupCache,
|
||||||
|
transaction,
|
||||||
|
reporter,
|
||||||
|
trackChangesInLookupCache,
|
||||||
|
keepIncrementalCompilationCachesInMemory
|
||||||
|
)
|
||||||
|
|
||||||
// FIXME: Remove `pathConverter` and require its users to decide whether to use `pathConverterForSourceFiles` or
|
// FIXME: Remove `pathConverter` and require its users to decide whether to use `pathConverterForSourceFiles` or
|
||||||
// `pathConverterForClassFiles`
|
// `pathConverterForClassFiles`
|
||||||
val pathConverter = pathConverterForSourceFiles
|
val pathConverter = pathConverterForSourceFiles
|
||||||
|
|||||||
Reference in New Issue
Block a user