Bug 13008 – [REG2.066a] 'deprecated' is not allowed to refer another deprecated when it is a function declaration
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-06-30T01:47:00Z
Last change time
2014-07-01T00:53:45Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
kekeniro2
Comments
Comment #0 by kekeniro2 — 2014-06-30T01:47:02Z
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