[Issue 14232] New: redundant attribute 'const'

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Feb 28 16:42:59 PST 2015


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

          Issue ID: 14232
           Summary: redundant attribute 'const'
           Product: D
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: code at dawg.eu

cat >> bug.d << CODE
struct Bug
{
    void bug() const const
    {
    }
}
CODE

dmd -c bug

----

This code when from silently compiling in 2.066.1 to an error in 2.067.0-b2. It
should be deprecated first.

--


More information about the Digitalmars-d-bugs mailing list