Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createVariable/parameter/callableRef.kt
T
2015-12-10 20:06:27 +03:00

9 lines
209 B
Kotlin
Vendored

// "Create parameter 'foo'" "false"
// ACTION: Rename reference
// ACTION: Add 'f =' to argument
// ERROR: Unresolved reference: foo
fun test(f: (Int) -> Int) {}
fun refer() {
val v = test(::<caret>foo)
}