Overload callable references are now supported - changed code accordingly

This commit is contained in:
Valentin Kipyatkov
2015-10-02 13:28:08 +03:00
parent b23602237a
commit d547ea9b57
4 changed files with 31 additions and 14 deletions
@@ -6,4 +6,4 @@ fun bar(){
foo(<caret>)
}
// ABSENT: ::Date
// EXIST: ::Date
@@ -0,0 +1,13 @@
class A {
fun foo(p: (Int) -> Any){}
fun bar() {
foo(<caret>)
}
}
class B() {
constructor(p: Int) : this(){}
}
// EXIST: ::B