[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
@@ -0,0 +1,7 @@
fun test_1(a: String, s: String) {
val pair = s.let(a::to)
}
fun test_2(a: String, s: String) {
val pair = s.let { a.to(it) }
}