PSI Unifier: Use convention-based call for array access expressions when comparing elements by resolved calls
#KT-8312 Fixed
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
fun test(index: Int, array: Array<() -> Unit>) {
|
||||
val a = <selection>array[index]</selection>()
|
||||
val b = array[index]
|
||||
val c = array.get(index)
|
||||
val d = array.get(index).invoke()
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
array[index]
|
||||
|
||||
array[index]
|
||||
|
||||
array.get(index)
|
||||
|
||||
array.get(index)
|
||||
Reference in New Issue
Block a user