[FIR] Get rid of copying function call in process of completion

This commit is contained in:
Dmitriy Novozhilov
2020-02-26 10:54:12 +03:00
parent cda8177502
commit 4454a0681b
26 changed files with 10 additions and 30 deletions
-1
View File
@@ -1,7 +1,6 @@
// !LANGUAGE: +NewInference
// WITH_RUNTIME
// KJS_WITH_FULL_RUNTIME
// IGNORE_BACKEND_FIR: JVM_IR
class Inv<T>
fun <T> bar(x: Inv<T>.() -> Unit) = x
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun foo(useScriptArgs: Array<out Any?>?) {
val constructorArgs: Array<out Any?> = arrayOf(useScriptArgs.orEmpty())
}