Files
kotlin-fork/idea/testData/resolve/references/CtrlClickResolve.kt
T
Alexey Sedunov 608ce59f15 Resolution: Resolve primary constructor references to primary constructor
itself if it's explicitly present in PSI
2015-06-11 13:52:47 +03:00

10 lines
242 B
Kotlin
Vendored

package ctrl_click
fun IntArray(vararg content : Int) : IntArray = content
fun <T> array(vararg t : T) : Array<T> = t
fun main(args : Array<String>) {
var a = <caret>IntArray(array(1, 2, 3))
}
// REF: (in kotlin.IntArray).IntArray(Int)