FIR IDE: introduce KtFirCollectionLiteralReference

This commit is contained in:
Ilya Kirillov
2020-11-06 11:14:31 +03:00
parent bac5ebcb12
commit 7b1eef136e
5 changed files with 77 additions and 5 deletions
@@ -1,5 +1,3 @@
// IGNORE_FIR
val abc = <caret>[1, 2, 3]
// REF: (kotlin).arrayOf(vararg T)
@@ -1,5 +1,3 @@
// IGNORE_FIR
val abc: IntArray = [1, 2, 3<caret>]
// REF: (kotlin).intArrayOf(vararg kotlin.Int)