Thread overview
[Issue 6017] std.algorithm.remove has a wrong link
Apr 23, 2014
Andrej Mitrovic
Jun 24, 2014
Brad Anderson
April 23, 2014
https://issues.dlang.org/show_bug.cgi?id=6017

Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|Other                       |All
                 OS|Windows                     |All

--- Comment #13 from Andrej Mitrovic <andrej.mitrovich@gmail.com> ---
This seems to be fixed locally thanks to https://github.com/D-Programming-Language/dmd/pull/1174 and the updated 'MYREF' macro in std.algorithm, but the changes are not yet synced with the server, it currently points to:

http://dlang.org/phobos/std_algorithm.html#remove

Instead of: http://dlang.org/phobos/std_algorithm.html#.remove

--
June 24, 2014
https://issues.dlang.org/show_bug.cgi?id=6017

Brad Anderson <eco@gnuk.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh@quickfur.ath.cx

--- Comment #14 from Brad Anderson <eco@gnuk.net> ---
*** Issue 11575 has been marked as a duplicate of this issue. ***

--
June 24, 2014
https://issues.dlang.org/show_bug.cgi?id=6017

--- Comment #15 from hsteoh@quickfur.ath.cx ---
Has the dlang.org docs been updated to document $DDOC_ANCHOR?

--
June 24, 2014
https://issues.dlang.org/show_bug.cgi?id=6017

--- Comment #16 from hsteoh@quickfur.ath.cx ---
Pull 1174 does *not* fix the problem, unfortunately. :-( Struct members still show up as global names rather than qualified with the containing struct name.

--
June 24, 2014
https://issues.dlang.org/show_bug.cgi?id=6017

--- Comment #17 from hsteoh@quickfur.ath.cx ---
Correction: pull 1174 fixes the problem for non-template members, but members of template structs, etc., still show up as top-level symbols.

--
June 24, 2014
https://issues.dlang.org/show_bug.cgi?id=6017

--- Comment #18 from hsteoh@quickfur.ath.cx ---
I've found the reason: emitAnchorName() is unable to find the parent symbol of a template member because the .parent pointer is only set when semantic is run, but at the time of ddoc generation, the template may not even be instantiated yet, so all the .parent pointers of the member DSymbol's are NULL.

--
June 25, 2014
https://issues.dlang.org/show_bug.cgi?id=6017

--- Comment #19 from hsteoh@quickfur.ath.cx ---
Found the fix: https://github.com/D-Programming-Language/dmd/pull/3693

Unfortunately, it seems to be unrelated to the specific issue in this bug; see instead: issue #10366.

--
July 19, 2014
https://issues.dlang.org/show_bug.cgi?id=6017

hsteoh@quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #20 from hsteoh@quickfur.ath.cx ---
Fixed in git HEAD (as currently shown on dlang.org under the Phobos prerelease
section).

--