Removed useless as casts from compiler code
It allows compiling code with K2 and enabled `-Werror`
This commit is contained in:
committed by
Space Team
parent
d50c6f1b6d
commit
1827df82c4
+2
-2
@@ -31,8 +31,8 @@ fun invokeInterop(flavor: String, args: Array<String>, runFromDaemon: Boolean):
|
||||
val purgeUserLibs = arguments.purgeUserLibs
|
||||
val nopack = arguments.nopack
|
||||
val temporaryFilesDir = arguments.tempDir
|
||||
val moduleName = (arguments as? CInteropArguments)?.moduleName
|
||||
val shortModuleName = (arguments as? CInteropArguments)?.shortModuleName
|
||||
val moduleName = arguments.moduleName
|
||||
val shortModuleName = arguments.shortModuleName
|
||||
|
||||
val buildDir = File("$outputFileName-build")
|
||||
val generatedDir = File(buildDir, "kotlin")
|
||||
|
||||
Reference in New Issue
Block a user