[FIR] Support diagnostic ABSTRACT_SUPER_CALL

This commit is contained in:
Nick
2020-04-11 14:29:50 +03:00
committed by Mikhail Glukhikh
parent 8960829c01
commit c4b7ac994b
12 changed files with 215 additions and 13 deletions
@@ -22,9 +22,9 @@ class C() : D() {
class B() : A() {
override fun foo(): Int {
super.i
super.<!ABSTRACT_SUPER_CALL!>i<!>
super.fff() //everything is ok
return super.foo() //no error!!
return super.<!ABSTRACT_SUPER_CALL!>foo<!>()
}
}