Review of std.signal

ilya-stromberg ilya-stromberg-2009 at yandex.ru
Fri Nov 22 10:47:09 PST 2013


On Friday, 22 November 2013 at 18:33:31 UTC, Robert wrote:
> That's weird. It works in the unit test, I'll look into it. 
> Thanks!

No, it isn't.
The function `void watch(string msg, int i)` from unit tests is 
declarated into the unittest block. So, it's delegate because it 
contains pointer to the unittest scope.
Try to change function to the `static void watch(string msg, int 
i)` and you'll see the same error.


More information about the Digitalmars-d mailing list