Bug 2581 – DDoc doesn't work for functions with auto return type.

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2009-01-11T14:59:00Z
Last change time
2015-06-09T01:21:00Z
Keywords
ddoc
Assigned to
bugzilla
Creator
dsimcha

Comments

Comment #0 by dsimcha — 2009-01-11T14:59:30Z
Source: /** I'm documented.*/ void foo() {} /** Please document me.*/ auto bar(T)(T u) { return u; } DDoc output: void foo(); I'm documented.
Comment #1 by bugzilla — 2011-01-20T22:50:53Z