www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 24245] New: ddoc interprets `$(...)` in backticks, as a macro

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

          Issue ID: 24245
           Summary: ddoc interprets `$(...)` in  backticks, as a macro
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: destructionator gmail.com

---
/// `$(thing)`
module test;
---

the $(thing) there will be expanded to an empty macro, despite being in an
inline code block. Inline code blocks should never apply macro expansion since
it indicates foreign language code.

--
Nov 14 2023