Files
kotlin/idea/testData/quickfix/createFromUsage/createVariable/parameter/callableRef.kt
Mikhail Glukhikh 382bf9a500 ConvertReferenceToLambda status refactoring
Intention is not registered now; inspection is enabled by default now,
 but has highlight level of "No highlighting"
2017-05-10 14:56:38 +03:00

10 lines
210 B
Kotlin
Vendored

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