www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14232] New: redundant attribute 'const'


          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 puremagic.com
          Reporter: code dawg.eu

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

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.

Feb 28 2015