Smart completion: minor code refactoring
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user