summaryrefslogtreecommitdiff
path: root/test/files/neg/t6336.check
Commit message (Collapse)AuthorAgeFilesLines
* Error message improvement for SI-6336.Paul Phillips2012-09-191-2/+2
| | | | | Position error messages about structural type members at the problematic parameter or type.
* SI-6336 Now also catches return typesMartin Odersky2012-09-181-1/+4
| | | | | 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/+4
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.