aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/selfInheritance.scala
Commit message (Collapse)AuthorAgeFilesLines
* Adapt neg tests to new neg tests checksVladimirNik2016-02-181-6/+6
|
* Check that a self type T is closed.Martin Odersky2015-07-061-0/+4
| | | | | | | | What is checked: A self type T is a subtype of all selftypes of classes refernced by T. That is, a self type has to subsume all self types of its required type. Ot, otherwise said, requirements must be closed; you cannot discover new ones in following them.
* Self type inheritance checkMartin Odersky2015-04-131-0/+28
Check that the self type of a class conforms to the self types of its parent classes.