[Bug 52] ambiguous function pointer silently accepted
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu May 18 05:29:53 PDT 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=52
smjg at iname.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |smjg at iname.com
Summary|ambiguous function pointer |ambiguous function pointer
|silently excepted |silently accepted
------- Comment #1 from smjg at iname.com 2006-05-18 07:29 -------
AFAIK this also occurs with typeof, and probably functions overloaded to take
function pointers as well. While the spec doesn't comment in the ambiguity,
it's incompatible with something that the spec does say somewhere or other:
that the semantics of a program should never be altered by the order of
declarations.
--
More information about the Digitalmars-d-bugs
mailing list