aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/enums.scala
Commit message (Collapse)AuthorAgeFilesLines
* New and updated testsMartin Odersky2017-04-041-3/+3
|
* Infer enum type args from type parameter boundsMartin Odersky2017-04-041-1/+12
| | | | | | Infer type arguments for enum paraments from corresponding type parameter bounds. This only works if the type parameter in question is variant and its bound is ground.
* Fix neg test error countMartin Odersky2017-04-041-1/+1
| | | | | Previous expansion caused 3 spurious follow-on errors which are now avoided.
* Check that cases with type parameters also have an extends clauseMartin Odersky2017-04-041-0/+1
|
* Add testsMartin Odersky2017-04-041-0/+8