Match triangle & diamond intersections in FirTypeIntersectionScope
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
interface A {
|
||||
fun foo() {}
|
||||
}
|
||||
|
||||
interface B : A {
|
||||
override fun foo() {}
|
||||
}
|
||||
|
||||
// We should not have intersection override foo() in this class
|
||||
class C : B, A
|
||||
Reference in New Issue
Block a user