FIR: transform resolved arrayOf call inside annotation to FirArrayOfCall

This commit is contained in:
Jinseong Jeon
2020-05-18 23:45:09 -07:00
committed by Mikhail Glukhikh
parent 265d066878
commit 18953c4717
10 changed files with 103 additions and 15 deletions
@@ -58,7 +58,7 @@ FILE fqName:<root> fileName:/arrayInAnnotationArguments.kt
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)
TestAnnWithStringArray(x = CALL 'public final fun arrayOf <T> (vararg elements: T of kotlin.arrayOf): kotlin.Array<T of kotlin.arrayOf> [inline] declared in kotlin' type=kotlin.Array<kotlin.String> origin=null)
TestAnnWithStringArray(x = ['a', 'b', 'c'])
BLOCK_BODY
FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit
annotations: