On 2015-10-11 11:45, Johannes Pfau wrote:

We even have such a problem in object.d:

https://github.com/D-Programming-Language/druntime/blob/master/src/object.d#L1461

I remember somebody asking in D.learn why his custom test runner did
not work. Problem was related to wrong parenthesis: The user wrote
mod.unitTest() instead of mod.unitTest()() IIRC. Unfortunately I can't
find the exact link right now.

That would be me :) [1]. I think the biggest issue was that something that worked before stopped working, because a field was changed to a method and the method returned a function pointer.

[1] http://forum.dlang.org/thread/[email protected]#post-kaara7:24dog:241:40digitalmars.com

--
/Jacob Carlborg

Reply via email to