Files
kotlin-fork/idea/idea-completion/testData/basic/common/primitiveCompletion/localVariablesAndFunctionsFromNestedScope.kt
T

22 lines
273 B
Kotlin
Vendored

// FIR_COMPARISON
fun run(action: () -> Unit) = action()
fun test() {
fun aa() {}
val aaa = 10
run {
fun aabb() {}
val aaabb = 20
<caret>
Unit // remove this
}
}
// EXIST: aa
// EXIST: aaa
// EXIST: aabb
// EXIST: aaabb