summaryrefslogtreecommitdiff
path: root/test/files/neg/t6162-overriding.scala
Commit message (Collapse)AuthorAgeFilesLines
* Rescues @deprecated{Inheritance, Overriding}Jason Zaugg2012-09-111-1/+10
| | | | | | | | | | | | | | While they ought to be generalized to aribirary modifier changes before being offered in the standard library, the opportunity to use them in 2.10 is too important to pass up. So for now, they're private[scala]. En route: - made the error messages more concise - fix positioning of inheritance error - improve test coverage
* SI-6162 Adds @deprecatedInheritance/@deprecatedOverridingSimon Ochsenreither2012-09-101-0/+8
These annotations are meant to warn from inheriting a class or from overriding a member, due to the reasons given in `msg`. The naming and placement of the methods is in line with @deprecated and @deprecatedName.