FIR2IR: allow array expression as named argument for vararg

This commit is contained in:
Jinseong Jeon
2020-08-25 01:02:47 -07:00
committed by Mikhail Glukhikh
parent 54d3c5fb0a
commit 085e0dc1de
4 changed files with 34 additions and 22 deletions
-1
View File
@@ -1,5 +1,4 @@
// !LANGUAGE: +AllowAssigningArrayElementsToVarargsInNamedFormForFunctions
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JS
fun test(vararg s: String) = s[1]