Summary: Error message with __error: static assert(undefined+1)
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Don <> 2011-11-17 02:10:52 PST ---
Applies to most arithmetic operations.

static assert(-undefined);

bug.d(4): Error: undefined identifier undefined
bug.d(4): Error: static assert  (-(__error)) is false

It's because typeCombine overwrites its subexpressions with ErrorExp.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to