Files
kotlin-fork/idea/testData/completion/basic/common/namedParameters/NamedParametersFromOverloads.kt
T
2014-09-03 13:59:31 +04:00

20 lines
364 B
Kotlin

package test
val nLocal = 12
class foo(nClassParam: String, val nClassField: String)
fun foo(nFirst: String) = 12
fun foo(nSecond: String? = null, nThird: Int = 1) { }
fun other() {
foo(n<caret>)
}
// EXIST: "nFirst ="
// EXIST: "nSecond ="
// EXIST: "nThird ="
// EXIST: nLocal
// todo - should exist
// ABSENT: "nClassParam ="
// ABSENT: "nClassField ="