Skip to content

0.16.0-RC3 Enum .values does not return enums in order #6663

@j-mie6

Description

@j-mie6

The array returned by calling .values on an Enum type results in an Array which does not respect the ordering of the enums themselves (as given by their ordinal value). This is different from the behaviour of Java Enums.

Metadata

Metadata

Labels

area:desugarDesugaring happens after parsing but before typing, see desugar.scalaarea:enumsitype:bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions