Bug 53 – DDoc: Struct templates documented without template parameters

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-03-16T02:11:00Z
Last change time
2014-02-15T02:08:24Z
Keywords
ddoc
Assigned to
bugzilla
Creator
oskar.linde

Comments

Comment #0 by oskar.linde — 2006-03-16T02:11:29Z
When documenting a struct template defined using the short-hand notation, the DDoc output doesn't contain the template parameters: /// Doc struct MyStruct(X) { X x; } Gets documented as: struct MyStruct; Doc
Comment #1 by bugzilla — 2006-06-20T02:04:31Z
Fixed 0.161 according to Bruno's analysis
Comment #2 by bugzilla — 2006-06-20T13:07:48Z
Not fixed.
Comment #3 by michal.minich — 2010-12-09T01:51:49Z
dmd 2.050 generates the docs correctly. Probably should be marked as fixed.
Comment #4 by michal.minich — 2010-12-09T02:10:35Z
dmd 1.065 is OK too. When I find some reported issue to be fixed already, should I mark the bug fixed, or leave this to be done by assignee?
Comment #5 by clugdbug — 2010-12-09T03:28:36Z
(In reply to comment #4) > dmd 1.065 is OK too. > > When I find some reported issue to be fixed already, should I mark the bug > fixed, or leave this to be done by assignee? You can mark it as fixed, but ONLY if you can reproduce the bug on an older DMD.
Comment #6 by michal.minich — 2010-12-09T04:10:18Z
DMD 0.149 and 0.161 are both buggy as reported. Additionally, not using "short-hand" notation has the same behavior. I don't understand why the need to reproduce on older dmd. (What would be the next action if found the older version is not buggy?) It was fixed between 0.162 and 0.175
Comment #7 by clugdbug — 2010-12-09T04:18:50Z
(In reply to comment #6) > DMD 0.149 and 0.161 are both buggy as reported. Additionally, not using > "short-hand" notation has the same behavior. > > I don't understand why the need to reproduce on older dmd. (What would be the > next action if found the older version is not buggy?) It would mean that something else is wrong. For example, it could be a platform-specific bug. Sometimes, the actual bug is different to what's been reported. > It was fixed between 0.162 and 0.175 Confirmed. Works in 0.165.