D Compiler Bug?

Nemanja Borić dlang at nemanjaboric.com
Mon Jan 28 21:05:39 UTC 2019


On Monday, 28 January 2019 at 21:00:42 UTC, Adam D. Ruppe wrote:
> huh it worked for me, but I am on a different ldc version. is 
> it easy for you to update that?

Fails for me in the same way as OP described.

ldc: stable 1.13.0

Interestingly, if you call func7 and not func8 from func, you get 
stack overflow (func starts calling itself). You can reduce the 
levels of inheritance, but foo seems to be important.


More information about the Digitalmars-d mailing list