[Issue 17776] New: highlight error in betterC assert messages

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Aug 23 08:06:03 PDT 2017


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

          Issue ID: 17776
           Summary: highlight error in betterC assert messages
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: betterC
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: b2.temp at gmx.com

With DMD 2.076 beta or ~master run

---
#!dmd -betterC
extern(C) int main(char** args, int argc)
{
    assert(0 == 42);
    return 0;
}
---

To see:

> Assertion `a == 42' failed.

I suppose that the right most expression delimiter should also be a backtick.

--


More information about the Digitalmars-d-bugs mailing list