summaryrefslogtreecommitdiff
path: root/test/files/neg/t5799.check
Commit message (Collapse)AuthorAgeFilesLines
* Revised restrictions for value classes and unversal traitsMartin Odersky2012-10-031-1/+1
| | | | | | | | | and brought compiler in line with them. One thing we can accept IMO are nested classes (nested objects are still a problem). In fact, it makes no sense to exclude nested classes from value classes but not from universal traits. A class nested in universal trait will becomes a class nested in a value class by inheritance. Note that the reflection library already contains a universal trait with a nested class (IndexedSeqLike), so we should accept them if we can.
* SI-5799 Secondary constructors in value classes not allowedMartin Odersky2012-07-291-0/+4
I changed the SIP and added a test.