[FIR] add support for varargs in delegated constructor calls
Also add support for spread operators as named arguments.
This commit is contained in:
committed by
Dmitriy Novozhilov
parent
3652ac9354
commit
858731cac8
-1
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
open class SomeClass(val some: Double, val other: Int, vararg val args: String) {
|
||||
fun result() = args[1]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user