aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t0055.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-03-17 15:53:21 +0100
committerTobias Schlatter <tobias@meisch.ch>2014-03-21 11:28:30 +0100
commit77d1c83ff67894bf87d37bfb8982d818fdc88f73 (patch)
tree53c2b4343ef3fe64b2ea81b187360077b6274435 /tests/untried/pos/t0055.scala
parent90f430bfb9178e49dc112bacf5b250d0780dcd1e (diff)
downloaddotty-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/pos/t0055.scala')
0 files changed, 0 insertions, 0 deletions