Summary: (mtype.c) Compiler crash caused by pure
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2010-12-01 12:51:04 PST ---
struct Foo {}
void bar(T)(Foo* f) pure if(true) {}
void main() {

DMD 2.050 shows:
Assertion failure: 'tn->mod & MODimmutable || tn->mod & MODconst' on line 876
in file 'mtype.c'

If I remove the pure the error vanishes.

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

Reply via email to