[FIR] Add checking receivers of callable references
This commit is contained in:
Vendored
+7
@@ -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) }
|
||||
}
|
||||
Reference in New Issue
Block a user