Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
The intent would be to make the following example work. Currently the TupleConstructor annotation is ignored and unless an explicit constructor is added, the example will fail.
@groovy.transform.TupleConstructor enum Operator { PLUS('+'), MINUS('-') String symbol } assert Operator.PLUS.next() == Operator.MINUS