8dab560d6e
Before, BODY_RESOLVE phase were used for them but status may be unresolved. This caused CCE on accessing resolved status for such static enum members. Now, those declarations are created with the status of owning enum as the status is taken from that class.