Bug 16509 – DIP25 'return' attribute not documented for functions

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-09-19T15:06:49Z
Last change time
2018-01-23T13:40:08Z
Assigned to
No Owner
Creator
Mathias Lang

Comments

Comment #0 by mathias.lang — 2016-09-19T15:06:49Z
The 'return' attribute is almost undocumented in `specs/function.dd`. It was added to the grammar in https://github.com/dlang/dlang.org/pull/1415 but no paragraph has been written to explain it. One wishing to fix this should probably use http://wiki.dlang.org/DIP25 as reference. Marking as major since it's now enabled by default.
Comment #1 by chilli — 2018-01-23T13:00:17Z
Comment #2 by mathias.lang — 2018-01-23T13:40:08Z
Indeed!