www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 23849] New: Ddoc $(LPAREN) and $(RPAREN) not formatted properly

https://issues.dlang.org/show_bug.cgi?id=23849

          Issue ID: 23849
           Summary: Ddoc $(LPAREN) and $(RPAREN) not formatted properly
           Product: D
           Version: D2
          Hardware: All
               URL: http://dlang.org/library/std/traits.html
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: john.michael.hall gmail.com

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.

--
Apr 20 2023