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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 14 16:11:51 UTC 2023


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 at puremagic.com
          Reporter: destructionator at 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.

--


More information about the Digitalmars-d-bugs mailing list