fe328f8c7a
1) Trim unused spaces in annotations 2) Rewrote fq name rendering 3) Added annotations to for loop variable 4) Added type arguments render along to type parameters in functions
30 lines
715 B
Kotlin
Vendored
30 lines
715 B
Kotlin
Vendored
fun test() {
|
|
// IntArray
|
|
// │ fun intArrayOf(vararg Int): IntArray
|
|
// │ │ Int
|
|
// │ │ │ Int
|
|
// │ │ │ │ Int
|
|
// │ │ │ │ │
|
|
val x = intArrayOf(1, 2, 3)
|
|
// val test.x: IntArray
|
|
// │ Int Int
|
|
// │ │ │
|
|
x[1] = 0
|
|
}
|
|
|
|
// Int
|
|
// │ Int
|
|
// │ │
|
|
fun foo() = 1
|
|
|
|
fun test2() {
|
|
// fun intArrayOf(vararg Int): IntArray
|
|
// │ Int
|
|
// │ │ Int
|
|
// │ │ │ Int
|
|
// │ │ │ │ fun foo(): Int
|
|
// │ │ │ │ │ Int
|
|
// │ │ │ │ │ │
|
|
intArrayOf(1, 2, 3)[foo()] = 1
|
|
}
|