Fix the invalid code after "Fix order of jars" commit

This commit is contained in:
Ilya Chernikov
2018-05-16 07:22:32 +02:00
parent a1c551faaf
commit 612de2e342
@@ -216,7 +216,7 @@ class K2JVMCompiler : CLICompiler<K2JVMCompilerArguments>() {
override fun getPerformanceManager(): CommonCompilerPerformanceManager = performanceManager
private fun loadPlugins(paths: KotlinPaths?, arguments: K2JVMCompilerArguments, configuration: CompilerConfiguration): ExitCode {
var pluginClasspaths = arguments.pluginClasspaths?.asIterable() ?: emptyArray()
var pluginClasspaths: Iterable<String> = arguments.pluginClasspaths?.asIterable() ?: emptyList()
val pluginOptions = arguments.pluginOptions?.toMutableList() ?: ArrayList()
if (!arguments.disableDefaultScriptingPlugin) {