Issue ID: 18594
           Summary: constant 1 is not an lvalue should have a better error
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd

void main() {
    assert(1 = 2);

currently errors with "foo.d(2): Error: constant 1 is not an lvalue".
The error message should be better: (1) not mention lvalue and (2) suggesting


Reply via email to