[Issue 1277] New: "in final const scope" not considered redundant storage classes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 18 09:31:23 PDT 2007


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 at digitalmars.com
        ReportedBy: deewiant at 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.


-- 



More information about the Digitalmars-d-bugs mailing list