iets3.opensource icon indicating copy to clipboard operation
iets3.opensource copied to clipboard

Enum with an order should respect that in all circumstances

Open mgronover opened this issue 2 years ago • 0 comments

Currently we can have enumerations which have an order. This order can be

  • by declaration
  • by literal
  • by value

The behavior of an enumeration if I ask them to give me the first, last, n-th element should respect that order. This is also important for getting the default element i.e. getDefaultLiteral().

mgronover avatar Feb 22 '24 08:02 mgronover