[FIR] Don't discriminate generics in conflict resolution for callable references
#KT-59430 Fixed
This commit is contained in:
committed by
Space Team
parent
141dc96067
commit
65ff684589
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user