0.16.0-RC3 Enum .values
does not return enums in order
#6663
Labels
area:desugar
Desugaring happens after parsing but before typing, see desugar.scala
area:enums
itype:bug
The array returned by calling
.values
on an Enum type results in anArray
which does not respect the ordering of the enums themselves (as given by theirordinal
value). This is different from the behaviour of Java Enums.The text was updated successfully, but these errors were encountered: