scala/scala — pull request #1539 by odersky (2012-10-30 16:37:25+00:00)
Title: Fixes SI-6556 by converting asserts to logging.

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