scala/scala — pull request #1342 by odersky (2012-09-18 15:29:26+00:00)
Title: SI-6336 Now also catches return types

As Mark's comments on SI-6336 shows, we also need to disallow value classes
as return types of structural types. Review by @paulp @harrah