Why h function make list or enum so weird?

I think this is a bug, you can take a look at this post