KT-12628: replace infix call supports now array accesses too

(cherry picked from commit 3d67f84)
This commit is contained in:
Mikhail Glukhikh
2016-07-27 17:34:33 +03:00
committed by Mikhail Glukhikh
parent c439a751ab
commit 47493c1a65
7 changed files with 75 additions and 14 deletions
@@ -0,0 +1,4 @@
// "Replace with safe (?.) call" "true"
operator fun Int.get(row: Int, column: Int) = this
fun foo(arg: Int?) = arg<caret>[42, 13]