www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1277] New: "in final const scope" not considered redundant storage classes

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1277

           Summary: "in final const scope" not considered redundant storage
                    classes
           Product: D
           Version: 2.000
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: accepts-invalid
          Severity: minor
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: deewiant gmail.com


This is an error, "redundant storage class final":

void f(final final const scope int x) {}

However, the following isn't, even though "in" is equivalent to "final const
scope":

void f(in final const scope int x) {}

DMD should say "redundant storage class" for all except "in" in the above.


-- 
Jun 18 2007
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1277


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED





Fixed dmd 2.001


-- 
Jun 27 2007