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

          Issue ID: 13008
           Summary: [REG2.066a] 'deprecated' is not allowed to refer
                    another deprecated when it is a function declaration
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: rejects-valid
          Severity: regression
          Priority: P1
         Component: DMD
          Assignee: nob...@puremagic.com
          Reporter: kekeni...@yahoo.co.jp

The below code does not work with -de flag in Git-head.
This is a recent regression.

deprecated class Dep { }
deprecated Dep depFunc1(); // error
deprecated void depFunc2(Dep); // error

--

Reply via email to