[Issue 6755] Better wrong function pointer error message

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 20 17:10:36 PDT 2012


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


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich at gmail.com
         Resolution|                            |FIXED


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-10-20 17:10:34 PDT ---
Seems fixed by some other pull, it's now:

test.d(4): Error: function test.bar (void function(const(int)) f) is not
callable using argument types (void function(const(float) c))

test.d(4): Error: cannot implicitly convert expression (& foo) of type void
function(const(float) c) to void function(const(int))

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