fix Issue 10922 - Compiler segfaults when using __traits(parent, {})
Merge pull request #2779 from 9rnsr/fix10922

Issue 10922 - Compiler segfaults when using __traits(parent, {})