Fixes #10

It's a temporary fix - it disables constant folding for enum constants.