[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,4 +4,4 @@ package test
fun nullableFun(): Int? = null
fun Int.foo() {}
val test1 = nullableFun()?::foo
val test1 = <!UNRESOLVED_REFERENCE!>nullableFun()?::foo<!>