Unifier: Fix matching of callable references with expression receivers
#KT-21334 Fixed
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
public fun String.bar() = ""
|
||||
|
||||
fun foo() {
|
||||
val f = if (1 < 2) {
|
||||
<selection>"abc"::bar</selection>
|
||||
} else {
|
||||
"def"::bar
|
||||
}
|
||||
val ff = if (1 < 2) {
|
||||
("abc")::bar
|
||||
} else {
|
||||
("def")::bar
|
||||
}
|
||||
}
|
||||
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
"abc"::bar
|
||||
|
||||
("abc")::bar
|
||||
Reference in New Issue
Block a user