summaryrefslogtreecommitdiff
path: root/test/pending/run/t6408.scala
Commit message (Collapse)AuthorAgeFilesLines
* Put more implementation restrictions on value classes.Grzegorz Kossakowski2012-10-031-0/+11
Nested objects, classes and lazy vals are disallowed at any nesting level in value classes; e.g. lazy vals local to a method defined in a value class. There are still allowed in universal traits. This is a temporary, implementation restriction that is planned to be addressed in future releases of Scala. Error messages has been updated to communicate that intent. Moved tests for SI-5582 and SI-6408 to pending folder. They have to stay there until implementation restrictions are addressed. Closes SI-6408 and SI-6432. Review by @odersky, @harrah and @adriaanm.