On Wed, 1 Mar 2023 00:16:16 +0100 Lorenzo Bianconi wrote: > > I think it also needs to be fixed to actually walk the elements > > and combine the user_value()s rather than count them and assume > > there are no gaps. > > Do you mean get_mask()? Yup, get_mask() predates the ability to control the values of enum entries individually so while at it we should fix it.