www.digitalmars.com         C & C++   DMDScript  

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

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 puremagic.com
          Reporter: john.loughran.colvin gmail.com

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

--
Aug 06