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


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |clugd...@yahoo.com.au
         Resolution|                            |INVALID


--- Comment #2 from Don <clugd...@yahoo.com.au> 2010-02-01 07:26:10 PST ---
This is invalid: the code creates delegates, then casts them to function
pointers.

To create the desired effect, this line:
  pTst.apFnc[0] = cast(FnPtr) &pTst.func0;

should be changed to:
  pTst.apFnc[0] = &TTest.func0;

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to