summaryrefslogtreecommitdiff
path: root/test/files/neg/t6162-inheritance.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-7312 @deprecatedInheritance now ignores same-file subclassesJason Zaugg2013-03-301-19/+0
| | | | | | This allows us to deprecate external inheritances as a prelude to sealing a class, without enduring the warnings ourselved in interlude.
* Rescues @deprecated{Inheritance, Overriding}Jason Zaugg2012-09-111-1/+16
| | | | | | | | | | | | | | 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/+4
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.