www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17776] New: highlight error in betterC assert messages

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 puremagic.com
          Reporter: b2.temp gmx.com

With DMD 2.076 beta or ~master run

---

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. --
Aug 23 2017