Merge pull request #2255 from hpohl/10456

[REG2.063] fix issue 10456 - struct containing enum X, alias X this and a dynamic array no longer compiles since 2.063
Conflicts:
	test/runnable/aliasthis.d