www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - [Semi-OT] newCTFE debugging woes

Hi Guys,
I just found and worked around a bug in newCTFE.

The tests only showed iasm64.d failing.
And iasm64.d test does not execute ctfe.
On top of that I could not reproduce the failure locally.
I was pretty befuddled.
After two weeks of being confused:

It turned out a bug in newCTFE caused dmd to mis-compile itself.

The following video shows me working around that bug:

Comments welcome.
May 28 2017