FIR: Fix scope intersection types
Otherwise overload resolution ambiguity is reported in the test
This commit is contained in:
Vendored
+1
-1
@@ -10,6 +10,6 @@ interface B {
|
||||
|
||||
fun test(c: Any) {
|
||||
if (c is B && c is A) {
|
||||
c.<!AMBIGUITY!>foo<!>().<!INAPPLICABLE_CANDIDATE!>checkType<!> { <!UNRESOLVED_REFERENCE!>_<!><String>() }
|
||||
c.foo().checkType { _<String>() }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user