Fail when using enum syntax with non-Int literals (#364)