Simplify code in callable reference resolution
This commit is contained in:
+1
-2
@@ -1,10 +1,9 @@
|
||||
// "Create parameter 'foo'" "false"
|
||||
// ACTION: Rename reference
|
||||
// ACTION: Add 'f =' to argument
|
||||
// ACTION: Create function 'foo'
|
||||
// ERROR: Unresolved reference: foo
|
||||
fun test(f: (Int) -> Int) {}
|
||||
|
||||
fun refer() {
|
||||
val v = test(::<caret>foo)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user