scala/scala — pull request #1542 by adriaanm (2012-10-30 20:39:08+00:00)
Title: SI-6556 no assert for surprising ctor result type

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

resubmit of #1539