diff options
author | Martin Odersky <odersky@gmail.com> | 2014-03-17 15:53:21 +0100 |
---|---|---|
committer | Tobias Schlatter <tobias@meisch.ch> | 2014-03-21 11:28:30 +0100 |
commit | 77d1c83ff67894bf87d37bfb8982d818fdc88f73 (patch) | |
tree | 53c2b4343ef3fe64b2ea81b187360077b6274435 /tests/untried/neg | |
parent | 90f430bfb9178e49dc112bacf5b250d0780dcd1e (diff) | |
download | dotty-77d1c83ff67894bf87d37bfb8982d818fdc88f73.tar.gz dotty-77d1c83ff67894bf87d37bfb8982d818fdc88f73.tar.bz2 dotty-77d1c83ff67894bf87d37bfb8982d818fdc88f73.zip |
Fix of t0625 - compare method types
Method type comparison via <:< yielded false if the signatures of the two method types differed.
This is too strict, because methods can have the same parametyers but different result types and still
be in a subtype relationship. We now onyl demand that the sighatures have the same parameters.
Diffstat (limited to 'tests/untried/neg')
0 files changed, 0 insertions, 0 deletions