8540f47c15
#KT-40788 Fixed #KT-24616 Fixed back-port from kotlin-ide commit aa5580bb5a7e96b209cdaa1c82f4e485ee001ae8
17 lines
201 B
Kotlin
Vendored
17 lines
201 B
Kotlin
Vendored
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtNamedFunction
|
|
// OPTIONS: usages
|
|
fun foo() {
|
|
if (true) {
|
|
fun <caret>bar() {
|
|
|
|
}
|
|
|
|
bar()
|
|
}
|
|
|
|
bar()
|
|
}
|
|
|
|
bar()
|
|
|
|
// DISABLE-ERRORS |