Files
kotlin-fork/idea/testData/completion/basic/common/namedParameters/NamedParametersFromOverloads.kt
T
2014-03-19 17:59:41 +04:00

20 lines
344 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