fix Issue 12350 - Assigning __traits(getAttributes) to variable crashes DMD
Merge pull request #3376 from 9rnsr/fix12350

Issue 12350 - Assigning __traits(getAttributes) to variable crashes DMD