diff options
author | Martin Odersky <odersky@gmail.com> | 2016-05-01 09:23:53 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-05-18 19:43:21 +0200 |
commit | cc0f62954e814200f47f978b857abf6ab039c9f0 (patch) | |
tree | 5b96f412e1f8a91426dbc81ca387e8b2ebb942b5 /test/dotc/tests.scala | |
parent | f36c21ed9f79a1fc41e36d7c5221a070d83e61a7 (diff) | |
download | dotty-cc0f62954e814200f47f978b857abf6ab039c9f0.tar.gz dotty-cc0f62954e814200f47f978b857abf6ab039c9f0.tar.bz2 dotty-cc0f62954e814200f47f978b857abf6ab039c9f0.zip |
Don't copy Any constructor to Object in Erasure
Once we do not merge methods with same signature anymore
we got an ambiguous overload between the constructors of
Any and Object after erasure (when all Any methods are
moved to Object). To avoid this, we map the Any constructor
to the Object constructor after erasure.
Diffstat (limited to 'test/dotc/tests.scala')
0 files changed, 0 insertions, 0 deletions