[Issue 3559] DMD 1.048+ fails to take function pointer from overloaded member functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 12 02:55:47 PST 2010


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2010-01-12 02:55:45 PST ---
(In reply to comment #0)
> The following code compiles and works fine on DMD 1.047 and older (DMD 1.023
> was the earliest one I tested), but no longer compiles with DMD 1.048 up to DMD
> 1.052 because the compiler cannot »choose« the correct overload when it tries
> to create the delegate/function pointer. In older versions, the casts were
> enough of a hint.

This is because bug 52 was fixed. The compiler used to accept all kinds of
garbage.

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


More information about the Digitalmars-d-bugs mailing list