[NI] Fix ambiguity when there are no applicable candidates
#KT-35064 Fixed
This commit is contained in:
+1
-1
@@ -12,5 +12,5 @@ fun <T, R : Number> bar(f: (T) -> Inv<R>, p: String = "") {}
|
||||
fun <T, R : Base> bar(f: (T) -> Inv<R>, p: Int = 4) {}
|
||||
|
||||
fun test() {
|
||||
<!OVERLOAD_RESOLUTION_AMBIGUITY!>bar<!>(::<!DEBUG_INFO_MISSING_UNRESOLVED!>foo<!>)
|
||||
bar(::foo)
|
||||
}
|
||||
Reference in New Issue
Block a user