www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - DMD stuck at semantic analyze

I just encountered a strange thing. I'm compiling my project, DStep, 
using DMD 2.059 and it get stuck at the semantic analyze (semantic3) of 
the following file:


It seems to have something to do with line 40. If I comment out that 
line DMD seems to behave correctly.

If I use latest git HEAD, DMD doesn't get stuck, it just exits at the 
same semantic analyze with exit code 0 and doesn't produce an executable.

I've done some tries to get a reduced test case but failed to reduce the 


/Jacob Carlborg
Jul 18 2012