StdLib deprecations cleanup: *array -> *arrayOf, copyToArray -> toTypedArray.

This commit is contained in:
Ilya Gorbunov
2015-06-25 17:33:35 +03:00
parent c462d23a0e
commit 00a44f6d4f
12 changed files with 37 additions and 39 deletions
@@ -217,7 +217,7 @@ public open class Kotlin2JsCompile() : AbstractKotlinCompile<K2JSCompilerArgumen
override fun createBlankArgs(): K2JSCompilerArguments {
val args = K2JSCompilerArguments()
args.libraryFiles = array<String>() // defaults to null
args.libraryFiles = arrayOf<String>() // defaults to null
return args
}