[Issue 21715] New: static assert() should accept and print multiple arguments just like pragma(msg)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 15 00:12:24 UTC 2021


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

pragma(msg, 1, 2);

prints `12`.

  assert(0, 1, 2);

should also print `12`.

--


More information about the Digitalmars-d-bugs mailing list