[FIR] Add checking receivers of callable references

This commit is contained in:
Dmitriy Novozhilov
2020-04-07 15:16:55 +03:00
parent b54148a6f1
commit 8a2b39d647
14 changed files with 36 additions and 17 deletions
@@ -4,10 +4,10 @@ class A {
fun A.extA(x: String) = x
fun main() {
Int::extInt
<!UNRESOLVED_REFERENCE!>Int::extInt<!>
A::extA
eat(Int::extInt)
<!INAPPLICABLE_CANDIDATE!>eat<!>(<!UNRESOLVED_REFERENCE!>Int::extInt<!>)
eat(A::extA)
}
}