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

http://d.puremagic.com/issues/show_bug.cgi?id=9939