FIR: extend arrayOf call transformation to other variants

This commit is contained in:
Jinseong Jeon
2020-05-27 22:39:03 -07:00
committed by Mikhail Glukhikh
parent 7ec8716d65
commit 4a511c7721
4 changed files with 17 additions and 7 deletions
@@ -57,7 +57,7 @@ FILE fqName:<root> fileName:/arrayInAnnotationArguments.kt
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit
annotations:
TestAnnWithIntArray(x = CALL 'public final fun intArrayOf (vararg elements: kotlin.Int): kotlin.IntArray declared in kotlin' type=kotlin.IntArray origin=null)
TestAnnWithIntArray(x = ['1', '2', '3'])
TestAnnWithStringArray(x = ['a', 'b', 'c'])
BLOCK_BODY
FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit