FIR: Fix scope intersection types
Otherwise overload resolution ambiguity is reported in the test
This commit is contained in:
Vendored
+1
-1
@@ -33,6 +33,6 @@ import p.*
|
||||
|
||||
fun test(b: B?) {
|
||||
if (b is C && b is D) {
|
||||
b?.<!AMBIGUITY!>getParent<!>()
|
||||
b?.getParent()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user