D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 7195 - remove in std.algorithm documentation quick links goes to wrong remove
Summary: remove in std.algorithm documentation quick links goes to wrong remove
Status: RESOLVED DUPLICATE of issue 6017
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: Other Windows
: P2 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-01 15:19 UTC by Brad Anderson
Modified: 2015-06-09 05:14 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Brad Anderson 2012-01-01 15:19:56 UTC
It gets linked to remove member of the EditOps enum rather than one of the remove functions.

I don't know DDoc enough (or at all) to resolve this but I did take a look. It's just using "$(MYREF remove)" in the quick links which I guess just uses the first remove it sees (EditOps appears earlier in the file than remove()).
Comment 1 Jonathan M Davis 2012-01-01 15:33:57 UTC
It's not really fixable. The only thing that could be done would be to reorder the declarations. At present, ddoc produces anchors which have no understanding of hierarchy or overloading. So, all symbols with the same name have the same anchor, and so it's always the first one which gets linked to. In order to fix this, ddoc needs to be improved. There has been talk of doing it, but no one has actually done it yet.
Comment 2 Jonathan M Davis 2012-01-01 15:36:08 UTC

*** This issue has been marked as a duplicate of issue 6017 ***