diff options
author | Martin Odersky <odersky@gmail.com> | 2014-11-14 16:05:18 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-11-14 16:05:18 +0100 |
commit | 9dae49b8994f72f2b4b83665c53a63b49896c5de (patch) | |
tree | e07c0ac849b731699c06ddce08cad6f486175945 /tests/neg/over.scala | |
parent | c7f824198352e0740a979a8022afc1a6e128dd1c (diff) | |
download | dotty-9dae49b8994f72f2b4b83665c53a63b49896c5de.tar.gz dotty-9dae49b8994f72f2b4b83665c53a63b49896c5de.tar.bz2 dotty-9dae49b8994f72f2b4b83665c53a63b49896c5de.zip |
Refine merge of nullary and parameterless denotations.
Previously, two denotations with types => T and ()T could not
be merged, only their types could be, but then the denotation
would no longer be a SymDenotation. We now treat the two types
as equivalent so that it will select the symbol in a subclass.
This fixes a problem where, once overrding pairs are made to
work (see following commit), in core/Types we get an error "overriding
final method "hashCode".
Diffstat (limited to 'tests/neg/over.scala')
0 files changed, 0 insertions, 0 deletions