Refactoring. Moved error checks (for abstract, super)
to CandidateResolver Added error SUPER_CANT_BE_EXTENSION_RECEIVER (it was SUPER_IS_NOT_AN_EXPRESSION)
This commit is contained in:
@@ -25,6 +25,6 @@ abstract class D(): A() {
|
||||
super.<!ABSTRACT_SUPER_CALL!>i<!>
|
||||
|
||||
super.fff() //everything is ok
|
||||
return super.<!ABSTRACT_SUPER_CALL!>foo()<!> //no error!!
|
||||
return super.<!ABSTRACT_SUPER_CALL!>foo<!>() //no error!!
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user