[Issue 13309] DMD accepts yet another invalid alias declaration

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Aug 16 19:32:36 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13309

Orvid King <blah38621 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |blah38621 at gmail.com

--- Comment #1 from Orvid King <blah38621 at gmail.com> ---
Your suggested alternative wouldn't do the same as that declaration currently
does, because it would be typed as a pointer to a function rather than a
function type itself, which is what the mangled type of the alias is.

--


More information about the Digitalmars-d-bugs mailing list