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
Comment #1 by k.hara.pg — 2014-06-30T02:32:57Z
Comment #2 by github-bugzilla — 2014-07-01T00:53:44Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/34f2f324cafc2e5f9252ada830c9d99babf7787c fix Issue 13008 - 'deprecated' is not allowed to refer another deprecated when it is a function declaration https://github.com/D-Programming-Language/dmd/commit/6382ff63e5fdceb07fceff898ec49c8f1ce7448a Merge pull request #3704 from 9rnsr/fix13008 [REG2.066a] Issue 13008 - 'deprecated' is not allowed to refer another deprecated when it is a function declaration