From 612de2e342ff82932e2e2c8332f85cad0fe7dc3b Mon Sep 17 00:00:00 2001 From: Ilya Chernikov Date: Wed, 16 May 2018 07:22:32 +0200 Subject: [PATCH] Fix the invalid code after "Fix order of jars" commit --- compiler/cli/src/org/jetbrains/kotlin/cli/jvm/K2JVMCompiler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {