scala/scala — pull request #868 by odersky (2012-07-11 12:39:18+00:00)
Title: Topic/valclasses2

SI-6035 and other value classes fixes.

I am sorry I must have messed up the git history of this commit to a degree where I can't fix it anymore. Rebasing seems to duplicate commits instead of organizing them. Rather than losing more time on this (I alreayd spent two fruitless hours) I ask that this is pulled exceptionally provided it passes the tests. Thank you.

Review by @adriaanm