KT-12628: !! is now correctly added to array expressions

(cherry picked from commit 56c9d7e)
This commit is contained in:
Mikhail Glukhikh
2016-07-27 17:52:48 +03:00
committed by Mikhail Glukhikh
parent 47493c1a65
commit a9c30e878b
6 changed files with 31 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
// "Add non-null asserted (!!) call" "true"
operator fun Int.get(row: Int, column: Int) = this
fun foo(arg: Int?) = arg<caret>[42, 13]