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: [email protected]
          Reporter: [email protected]

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?

--

Reply via email to