Bug 23849 – Ddoc $(LPAREN) and $(RPAREN) not formatted properly

Status
NEW
Severity
enhancement
Priority
P3
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2023-04-20T16:51:14Z
Last change time
2024-12-01T16:41:19Z
Keywords
pull
Assigned to
No Owner
Creator
John Hall
Moved to GitHub: phobos#10521 →

Comments

Comment #0 by john.michael.hall — 2023-04-20T16:51:14Z
There is some kind of issue with ddoc where it is not being displayed correctly. The link below is for isCallable and the first line is https://dlang.org/library/std/traits/is_callable.html "Detect whether T is a callable object, which can be called with the function call operator class="pln">LPAREN...class="pln">RPAREN." The original from the source code is "Detect whether `T` is a callable object, which can be called with the function call operator `$(LPAREN)...$(RPAREN)`." Which suggests that $(LPAREN) and $(RPAREN) are not being formatted properly. Perhaps the brackets are not fully around them.
Comment #1 by dlang-bot — 2023-04-21T14:24:49Z
@ntrel created dlang/phobos pull request #8739 "Fix macros inside backticks" fixing this issue: - Fix macros inside backticks Fixes Issue 23849 - Ddoc $(LPAREN) and $(RPAREN) not formatted properly Introduced by #6391 in 2018. https://github.com/dlang/phobos/pull/8739
Comment #2 by nick — 2023-04-21T15:20:21Z
> There is some kind of issue with ddoc https://dlang.org/library/ is generated by ddox, so I filed a bug there (mentioned in PR).
Comment #3 by john.michael.hall — 2023-04-21T22:15:38Z
Is ddox also the problem for this other one I posted: https://issues.dlang.org/show_bug.cgi?id=23848
Comment #4 by robert.schadek — 2024-12-01T16:41:19Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10521 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB