Supported inline of array convention simple cases; Fix for KT-9211: M13 an extension function that is inline, and for get(v) causes an exception when called using brackets
#KT-9211 Fixed
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import test.*
|
||||
|
||||
|
||||
fun box(): String {
|
||||
|
||||
val z = 1;
|
||||
|
||||
val p = z[2, 3]
|
||||
if (p != 6) return "fail 1: $p"
|
||||
|
||||
z[2, 3] = p
|
||||
if (res != 12) return "fail 2: $res"
|
||||
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user