[Issue 15875] "d o(int[a]a)(){}" causes DMD segfault
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Sep 2 10:32:11 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=15875
hsteoh at quickfur.ath.cx changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hsteoh at quickfur.ath.cx
--- Comment #2 from hsteoh at quickfur.ath.cx ---
This is caused by an infinite recursion ddmd.mtype.semanticLength ->
VarExp::semantic -> TypeAArray::semantic -> TypeSArray::semantic ->
ddmd.mtype.semanticLength. Probably due to the construct `int[a] a` which
depends upon itself.
--
More information about the Digitalmars-d-bugs
mailing list