[Issue 13126] New: Error: redundant storage class 'static'

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jul 13 12:00:55 PDT 2014


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

          Issue ID: 13126
           Summary: Error: redundant storage class 'static'
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: doob at me.com

This code compiled in DMD 2.065.0 but not in DMD 2.066.0-b3:

static static void foo ();

The error message I get is: " Error: redundant storage class 'static'".

Wouldn't it be possible to give a deprecation message about this?

--


More information about the Digitalmars-d-bugs mailing list