In the addition of support for choice plurality in https://github.com/xuri/xgen/pull/39, I had leftover copy-pasta that was setting the current element which interfered with the processing of groups. This removes the extra copy-pasted code that wasn't needed for processing choice elements and introduced the issue.
PR Details
This fixes the issue identified by @xuri here.
Description
In the addition of support for choice plurality in https://github.com/xuri/xgen/pull/39, I had leftover copy-pasta that was setting the current element which interfered with the processing of groups. This removes the extra copy-pasted code that wasn't needed for processing
choice
elements and introduced the issue.Related Issue
Motivation and Context
How Has This Been Tested
Types of changes
Checklist