https://issues.dlang.org/show_bug.cgi?id=14789 --- Comment #2 from Dicebot <public at dicebot.lv> --- Ah, I see, this happens because m.unitTest is actually a delegate getter and is not called here at all, it must be m.unitTest()() >_< I hate optional parens so much. --