summaryrefslogtreecommitdiff
path: root/test/files/neg/t6336.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-6336 Now also catches return typesMartin Odersky2012-09-181-0/+1
| | | | | As Mark's comments on SI-6336 shows, we also need to disallow value classes as return types of structural types.
* SI-6336 Disallows value types in structuralal refinementsMartin Odersky2012-09-161-0/+11
Structural refinements already have a number of restrictions, e.g. cannot refer to type parameters of enclosing classes. We need to disallow value classes as well.