diff --git a/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/K2JVMCompiler.kt b/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/K2JVMCompiler.kt index 1cf116b6088..b69d6835e33 100644 --- a/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/K2JVMCompiler.kt +++ b/compiler/cli/src/org/jetbrains/kotlin/cli/jvm/K2JVMCompiler.kt @@ -216,7 +216,7 @@ class K2JVMCompiler : CLICompiler() { override fun getPerformanceManager(): CommonCompilerPerformanceManager = performanceManager private fun loadPlugins(paths: KotlinPaths?, arguments: K2JVMCompilerArguments, configuration: CompilerConfiguration): ExitCode { - var pluginClasspaths = arguments.pluginClasspaths?.asIterable() ?: emptyArray() + var pluginClasspaths: Iterable = arguments.pluginClasspaths?.asIterable() ?: emptyList() val pluginOptions = arguments.pluginOptions?.toMutableList() ?: ArrayList() if (!arguments.disableDefaultScriptingPlugin) {