Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update test case | Martin Odersky | 2017-02-08 | 1 | -1/+1 |
| | |||||
* | Fix #1653: Check "no inherit from final" earlier. | Martin Odersky | 2016-11-06 | 1 | -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. |