Simplify code in callable reference resolution

This commit is contained in:
Alexander Udalov
2016-07-01 18:42:11 +03:00
parent 00f1415ed7
commit 2fcd4e955a
4 changed files with 26 additions and 48 deletions
@@ -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)
}
}