Fix invalid code generated for "%constant enum EnumType ..." and add a test.
3 files changed