Fix NPE due to classpath delegate change

This commit is contained in:
Sergey Igushkin
2018-08-11 14:13:14 +03:00
parent 5815d6a70c
commit 456edf3bbd
@@ -452,5 +452,5 @@ var K2JVMCompilerArguments.destinationAsFile: File
set(value) { destination = value.path }
var K2JVMCompilerArguments.classpathAsList: List<File>
get() = classpath!!.split(File.pathSeparator).map(::File)
get() = classpath.orEmpty().split(File.pathSeparator).map(::File)
set(value) { classpath = value.joinToString(separator = File.pathSeparator, transform = { it.path }) }