Constant folding in computed enum members

I think we already have a function that does this