FIR LT: fix bootstrap compilation error
if the existing list in the FRIENDS_PATH config property created with Arrays.asList, it contains non-extendable list, and attempt to use addAll on it leads to an exception.
This commit is contained in:
@@ -105,7 +105,7 @@ fun compileModulesUsingFrontendIrAndLightTree(
|
||||
|
||||
for (module in chunk) {
|
||||
val moduleConfiguration = compilerConfiguration.copy().applyModuleProperties(module, buildFile).apply {
|
||||
addAll(JVMConfigurationKeys.FRIEND_PATHS, module.getFriendPaths())
|
||||
put(JVMConfigurationKeys.FRIEND_PATHS, module.getFriendPaths())
|
||||
}
|
||||
val platformSources = linkedSetOf<KtSourceFile>()
|
||||
val commonSources = linkedSetOf<KtSourceFile>()
|
||||
|
||||
Reference in New Issue
Block a user