KT-6244 Overloads with no default parameters should take over ones with defaults
#KT-6244 Fixed
This commit is contained in:
+1
-1
@@ -29,6 +29,6 @@ import p.*
|
||||
|
||||
fun test(b: B?) {
|
||||
if (b is C) {
|
||||
b?.<!OVERLOAD_RESOLUTION_AMBIGUITY!>foo<!>(1, "")
|
||||
<!DEBUG_INFO_SMARTCAST!>b<!><!UNNECESSARY_SAFE_CALL!>?.<!>foo(1, "")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user