[Issue 22188] New: Can't use type qualifier in pragma(msg, ...)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 6 18:41:03 UTC 2021


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

          Issue ID: 22188
           Summary: Can't use type qualifier in pragma(msg, ...)
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: john.loughran.colvin at gmail.com

alias S = immutable int;
pragma(msg, S); // immutable(int)
pragma(msg, immutable int); // Error: `(arguments)` expected following
`immutable(int)`

--


More information about the Digitalmars-d-bugs mailing list