ModuleInfo.unitTest cannot be called twice

Jacob Carlborg doob at me.com
Thu Dec 13 00:05:43 PST 2012


On 2012-12-13 08:58, Johannes Pfau wrote:

> I don't remember a reason why calling that function more than
> once shouldn't work.
>
> But: unitTest is a property returning a function so it might be related
> to the optional parentheses / broken properties stuff. Does
> "m.unitTest()()" compile?

Yeah, that was the problem. I though unitTest was a field.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list