Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revised restrictions for value classes and unversal traits | Martin Odersky | 2012-10-03 | 1 | -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 allowed | Martin Odersky | 2012-07-29 | 1 | -0/+4 |
I changed the SIP and added a test. |