[Issue 1069] No error on type mismatch with varargs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 31 09:41:18 PST 2012


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


timon.gehr at gmx.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |timon.gehr at gmx.ch
         Resolution|                            |WORKSFORME


--- Comment #8 from timon.gehr at gmx.ch 2012-01-31 09:41:11 PST ---
(In reply to comment #7)
> This is working as designed, although it is bug prone.
> It might be possible for the compiler to convert a delegate that calls a member
> function into a delegate to the member function, avoiding this bug.

It was not working as designed, but is now. The current behavior (DMD 2.057) is
what Sean expects. This is because implicit conversions to void delegate() have
been scrapped. Safe to close now.

-- 
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