FIR checker: report AMBIGUOUS_SUPER
This commit is contained in:
committed by
Ivan Kochurkin
parent
5b9ce7e823
commit
06ee84f809
@@ -15,7 +15,7 @@ open class B {
|
||||
override fun foo() {
|
||||
super.foo()
|
||||
|
||||
super.<!UNRESOLVED_REFERENCE!>bar<!>() // should be ambiguity (NB: really we should have overridden bar in C)
|
||||
<!AMBIGUOUS_SUPER!>super<!>.bar() // should be ambiguity (NB: really we should have overridden bar in C)
|
||||
|
||||
super.baz() // Ok
|
||||
baz() // Ok
|
||||
|
||||
Reference in New Issue
Block a user