enums: support partial groups in enums that have other semantics *sigh*

Reviewer: @vaterlaus