[Issue 13008] New: [REG2.066a] 'deprecated' is not allowed to refer another deprecated when it is a function declaration
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Jun 29 18:47:02 PDT 2014
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: nobody at puremagic.com
Reporter: kekeniro2 at 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
--
More information about the Digitalmars-d-bugs
mailing list