[Issue 14358] DMD should prevent declaring a function with a reserved name

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Apr 10 23:26:08 PDT 2015


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

yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies at gmail.com
           Hardware|x86                         |All
            Version|unspecified                 |D2
            Summary|SDC test0134.d compiles but |DMD should prevent
                   |should not                  |declaring a function with a
                   |                            |reserved name
                 OS|Mac OS X                    |All
           Severity|normal                      |enhancement

--- Comment #2 from yebblies <yebblies at gmail.com> ---
AIUI this is working as intended, being reserved does not mean it has to
generate an error when it's used.

--


More information about the Digitalmars-d-bugs mailing list