aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t5577.scala
Commit message (Collapse)AuthorAgeFilesLines
* Fix mergeDenot one more time.Martin Odersky2015-06-071-0/+27
It's easy to get this wrong. What happened was that when computing deferred members of a class a deferred member was preferred over a concrete one because the types did not match. Thsi should not happen. We now change the scheme to always prefer concrete over abstract, and subclass-owned over superclass-owned. But we pick a denotation only if the overrides relationship on types coincides with the preference on symbols.