Fix NPE due to classpath delegate change
This commit is contained in:
+1
-1
@@ -452,5 +452,5 @@ var K2JVMCompilerArguments.destinationAsFile: File
|
|||||||
set(value) { destination = value.path }
|
set(value) { destination = value.path }
|
||||||
|
|
||||||
var K2JVMCompilerArguments.classpathAsList: List<File>
|
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 }) }
|
set(value) { classpath = value.joinToString(separator = File.pathSeparator, transform = { it.path }) }
|
||||||
|
|||||||
Reference in New Issue
Block a user