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:
Svetlana Isakova
2014-12-22 15:07:53 +03:00
parent 62c8a6f79a
commit 179c9ef2d6
12 changed files with 59 additions and 70 deletions
@@ -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!!
}
}