www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21715] New: static assert() should accept and print multiple

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

          Issue ID: 21715
           Summary: static assert() should accept and print multiple
                    arguments just like pragma(msg)
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: bugzilla digitalmars.com

pragma(msg, 1, 2);

prints `12`.

  assert(0, 1, 2);

should also print `12`.

--
Mar 14