[Issue 4254] New: addMod assertion failure

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 30 17:02:56 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4254

           Summary: addMod assertion failure
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: ellery-newcomer at utulsa.edu


--- Comment #0 from Ellery Newcomer <ellery-newcomer at utulsa.edu> 2010-05-30 17:02:55 PDT ---
The code:

void bub(const inout int other) {}
void main() {
    bub(1);
}

The result:

dmd: mtype.c:1155: Type* Type::addMod(unsigned int): Assertion `0' failed.
/home/ellery/bin/dmd: line 3: 25241 Aborted                 (core dumped)
/home/ellery/Downloads/dmd2046/linux/bin/dmd $*

dmd  2.046

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list