diff options
author | Martin Odersky <odersky@gmail.com> | 2016-11-06 09:28:44 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-11-06 09:32:49 +0100 |
commit | c8f54cf0a1438f3a17341eb3458d8eaa76b8293d (patch) | |
tree | f24f83bf69d7738cd48accd4ef5c0b95b6ee0c2d /tests/neg/i705-inner-value-class.scala | |
parent | a55a2607c7376ed81141ef958d6a8eeaeea8fd72 (diff) | |
download | dotty-c8f54cf0a1438f3a17341eb3458d8eaa76b8293d.tar.gz dotty-c8f54cf0a1438f3a17341eb3458d8eaa76b8293d.tar.bz2 dotty-c8f54cf0a1438f3a17341eb3458d8eaa76b8293d.zip |
Fix #1653: Check "no inherit from final" earlier.
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.
Diffstat (limited to 'tests/neg/i705-inner-value-class.scala')
0 files changed, 0 insertions, 0 deletions