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