Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Emit enum utility methods only if enum class is not generic | Martin Odersky | 2017-04-06 | 1 | -6/+8 |
| | |||||
* | Implementation of proposal changes | Martin Odersky | 2017-04-05 | 1 | -44/+75 |
| | | | | | - rename utility methods - generate utility methods also for object cases | ||||
* | Infer enum type args from type parameter bounds | Martin Odersky | 2017-04-04 | 1 | -11/+45 |
| | | | | | | 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. | ||||
* | Support cases with type parameters that extend a non-parameterized base | Martin Odersky | 2017-04-04 | 1 | -8/+12 |
| | | | | | | | | Support cases with type parameters that implicitly extend a non-parameterized base without needing their own extends clause. The proposal has been updated to make clear that this is supported. Also address other reviewers comments. | ||||
* | Support comma-separated enum constants | Martin Odersky | 2017-04-04 | 1 | -16/+19 |
| | |||||
* | Change enumeration members. | Martin Odersky | 2017-04-04 | 1 | -12/+14 |
| | | | | | | | | | | | | | Based on the discussion in #1970, enumeration objects now have three public members: - valueOf: Map[Int, E] - withName: Map[String, E] - values: Iterable[E] Also, the variance of case type parameters is now the same as in the corresponding type parameter of the enum class. | ||||
* | Implement enum desugaring | Martin Odersky | 2017-04-04 | 1 | -0/+124 |