[VISUALIZER] Add annotation at Array.set method

This commit is contained in:
Ivan Kylchik
2021-02-09 13:41:27 +03:00
committed by TeamCityServer
parent ca1b20c7f4
commit 945cc36ce3
3 changed files with 33 additions and 21 deletions
@@ -7,8 +7,10 @@ fun test() {
// │ │ │ │ │
val x = intArrayOf(1, 2, 3)
// val test.x: IntArray
// │ Int Int
// │ │
// │ Int
// │ │ fun (IntArray).set(Int, Int): Unit
// │ │ │ Int
// │ │ │ │
x[1] = 0
}
@@ -23,7 +25,8 @@ fun test2() {
// │ │ Int
// │ │ │ Int
// │ │ │ │ fun foo(): Int
// │ │ │ │ │ Int
// │ │ │ │ │
// │ │ │ │ │ fun (IntArray).set(Int, Int): Unit
// │ │ │ │ │ │ Int
// │ │ │ │ │ │ │
intArrayOf(1, 2, 3)[foo()] = 1
}