[VISUALIZER] Add annotation at Array.set method
This commit is contained in:
committed by
TeamCityServer
parent
ca1b20c7f4
commit
945cc36ce3
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user