[Issue 4873] New: Assertion failure: '0' on line 1483 in file 'expression.c'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 15 14:13:10 PDT 2010


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

           Summary: Assertion failure: '0' on line 1483 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: dfj1esp02 at sneakemail.com


--- Comment #0 from Sobirari Muhomori <dfj1esp02 at sneakemail.com> 2010-09-15 14:12:39 PDT ---
--- test.d ---
struct HANDLE
{
    size_t Value;
    this(void *ptrValue)
    {
        Value=ptrValue;
    }
}

enum HANDLE INVALID_HANDLE_VALUE = HANDLE(-1);
static assert(INVALID_HANDLE_VALUE.Value == -1);

class File
{
    HANDLE Handle=INVALID_HANDLE_VALUE;
}
---
>dmd -c test.d -w -o- -debug
---
e = 00A547EC, ty = 37
_error_ 009E16D8
Assertion failure: '0' on line 1483 in file 'expression.c'

abnormal program termination
---
Digital Mars D Compiler v2.048

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