[FIR] Don't discriminate generics in conflict resolution for callable references

#KT-59430 Fixed
This commit is contained in:
Kirill Rakhman
2023-09-21 16:29:29 +02:00
committed by Space Team
parent 141dc96067
commit 65ff684589
2 changed files with 9 additions and 2 deletions
@@ -8,6 +8,6 @@ class A
class B
fun box(): String {
val ref1 = take(::foo) // error before 1.6.20; ok, resolved to (3) since 1.6.20
val ref1 = take(::<!OVERLOAD_RESOLUTION_AMBIGUITY!>foo<!>) // error before 1.6.20; ok, resolved to (3) since 1.6.20
return "OK"
}