fix issue 10456 - struct containing enum X, alias X this and a dynamic array no longer compiles since 2.063

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