6e10235208
#KT-15550 Fixed
11 lines
248 B
Kotlin
Vendored
11 lines
248 B
Kotlin
Vendored
// "Create local variable 'foo'" "false"
|
|
// ACTION: Rename reference
|
|
// ACTION: Create function 'foo'
|
|
// ACTION: Add 'f =' to argument
|
|
// ERROR: Unresolved reference: foo
|
|
fun test(f: (Int) -> Int) {}
|
|
|
|
fun refer() {
|
|
val v = test(::<caret>foo)
|
|
}
|