On 2014-01-24 10:06, Johannes Pfau wrote:

A delegate context could be a struct or closure as well, then calling
cast(Object) is invalid and may crash.
There's no good solution, the old std.signals just assumes all
delegates belong to classes IIRC.

I just tried with a nested function and that returned "null". Was that just luck?

--
/Jacob Carlborg

Reply via email to