scala/scala — pull request #1538 by odersky (2012-10-30 15:30:56+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.