------- Comment #3 from  2009-01-11 17:42 -------
(In reply to comment #2)
> The code is wrong regardless of whether dofun is static or not. needs 
> an
> object of type A.  But it doesn't have one.

I'm not so sure. Object of type A is provided by these two lines of code:
A a = new A;
dg2.ptr = cast(void*)a;


Reply via email to