summaryrefslogtreecommitdiff
path: root/test/files/pos/t6556.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-6556 no assert for surprising ctor result typeMartin Odersky2012-10-301-0/+32
Previous fix to value classes uncovered some questionable cases in the backend where result types of constructor signatures are surprising. It's not a big deal because these types will be ignored afterwards anyway. But the method uncovered some questionable situations which we should follow up on. However, breaking 2.9 code because of this is way too harsh. That's why the asserts were converted to warnings. review by @paulp, @adriaanm