diff options
author | Martin Odersky <odersky@gmail.com> | 2014-01-06 10:09:03 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-01-06 10:09:14 +0100 |
commit | bdb0103d5196e3d64e9ea2d977058f49a78d749d (patch) | |
tree | bddc09693c929f9d382281a604d418a3ef13a26b /test/dotc/tests.scala | |
parent | 6b3f2225a8d6de898ca9a2299570056807de1a92 (diff) | |
download | dotty-bdb0103d5196e3d64e9ea2d977058f49a78d749d.tar.gz dotty-bdb0103d5196e3d64e9ea2d977058f49a78d749d.tar.bz2 dotty-bdb0103d5196e3d64e9ea2d977058f49a78d749d.zip |
Fix to overloading resolution: prioritize non-methods over methods.
If one alternative is a non-method yet the other is a method (of type PolyType or MethodType), the first alternative is "as specific as" the second.
Diffstat (limited to 'test/dotc/tests.scala')
0 files changed, 0 insertions, 0 deletions