fix Issue 9939 - allMembers trait doesn't returns members of nested anonymous enum