dave08
09/12/2017, 12:08 PMval default
is a String
then it doesn't work.. also the whole point was to save the a.A.ordinal == 0
which is verbose, anyways I usually only add one val
in the constructor for an enum value, so why shouldn't it be a generic default value for a.A
?