KT-9550: distinguish signature conflict on override from signature conflict of inherited members.
Add a common OverridingStrategy class for cases where we don't care (yet) about precise diagnostics.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
interface A {
|
||||
fun <T> foo()
|
||||
fun <T> bar()
|
||||
}
|
||||
|
||||
interface B {
|
||||
fun foo()
|
||||
fun bar()
|
||||
}
|
||||
|
||||
<!CONFLICTING_INHERITED_MEMBERS!>interface C1<!> : A, B {
|
||||
<!CONFLICTING_OVERLOADS!>override fun bar()<!>
|
||||
}
|
||||
Reference in New Issue
Block a user