aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/i1653.scala
Commit message (Collapse)AuthorAgeFilesLines
* Update test caseMartin Odersky2017-02-081-1/+1
|
* Fix #1653: Check "no inherit from final" earlier.Martin Odersky2016-11-061-0/+3
The test case is an illegal inheritance from a primitive value class, which makes this an illegal value class. Previously, the error was detected by refchecks, but crashes occured earlier (when generating synthesized methods) or at the same phase block (in extension methods). The problem is avoided by moving the test to Namer. Review by @smarter.