Make enum types distinct
Merge pull request #10 from hjr3/enum-type-error

Make enum types distinct