diff options
author | Paul Phillips <paulp@improving.org> | 2012-02-01 08:06:24 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-02-01 09:32:52 -0800 |
commit | f55db64983edfeb9484b7617e2b59f8994c37ef3 (patch) | |
tree | 82625ed61088f1a2230790008ab9aa6a08d39e51 /test/files/ant/fsc001-build.check | |
parent | 37bcff7956451cd74d08899e0e49c8b569d3a882 (diff) | |
download | scala-f55db64983edfeb9484b7617e2b59f8994c37ef3.tar.gz scala-f55db64983edfeb9484b7617e2b59f8994c37ef3.tar.bz2 scala-f55db64983edfeb9484b7617e2b59f8994c37ef3.zip |
Fix for bad bug with accidental overrides.
An object in a subclass would silently override an inherited
method, then throw a CCE at runtime. I blamed this on matchesType
and altered it accordingly. There's a pretty extensive test case
which reflects my expectations. Review by @odersky please.
Closes SI-5429.
Diffstat (limited to 'test/files/ant/fsc001-build.check')
0 files changed, 0 insertions, 0 deletions