[Issue 4914] New: Assertion failure: 'pr != PREC_zero' on line 817 in file 'expression.c'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 22 02:13:15 PDT 2010


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

           Summary: Assertion failure: 'pr != PREC_zero' on line 817 in
                    file 'expression.c'
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: ah08010-d at yahoo.com


--- Comment #0 from Austin Hastings <ah08010-d at yahoo.com> 2010-09-22 02:12:33 PDT ---
This code generates the failure. I tried moving the method out of the class to
a function, but the problem went away - there may be an intermediate level of
complexity that I passed by.

class Foo {
    int[string] builders;

    bool remove() {
        return builders.remove( "" );
    }
}

I get:

Assertion failure: 'pr != PREC_zero' on line 817 in file 'expression.c'

-- 
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