Smart completion: minor code refactoring

This commit is contained in:
Valentin Kipyatkov
2014-04-15 12:57:56 +04:00
parent 73329af7b1
commit 5bff98c164
6 changed files with 85 additions and 55 deletions
@@ -0,0 +1,9 @@
fun foo(p: () -> Unit, i: Int){}
fun bar() {
foo(<caret>)
}
fun f(){}
// ELEMENT: ::f
@@ -0,0 +1,9 @@
fun foo(p: () -> Unit, i: Int){}
fun bar() {
foo(::f, <caret>)
}
fun f(){}
// ELEMENT: ::f