www.digitalmars.com         C & C++   DMDScript  

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

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: ah08010-d yahoo.com


--- Comment #0 from Austin Hastings <ah08010-d 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: -------
Sep 22 2010
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4914


Don <clugdbug yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
             Status|NEW                         |RESOLVED
                 CC|                            |clugdbug yahoo.com.au
         Resolution|                            |DUPLICATE
           Severity|normal                      |regression


--- Comment #1 from Don <clugdbug yahoo.com.au> 2010-10-07 07:26:31 PDT ---
*** This issue has been marked as a duplicate of issue 4926 ***

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