http://d.puremagic.com/issues/show_bug.cgi?id=2557





------- Comment #3 from 2kor...@gmail.com  2009-01-11 17:42 -------
(In reply to comment #2)
> The code is wrong regardless of whether dofun is static or not.  A.fun 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