Thread overview
[Issue 6149] New: ICE(interpret.c) Assertion failure: 'v2 && v2->getValue()'
Jun 12, 2011
Nick Sabalausky
Jun 29, 2011
Iain Buclaw
Jun 29, 2011
kennytm@gmail.com
Jun 29, 2011
kennytm@gmail.com
June 12, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6149

           Summary: ICE(interpret.c) Assertion failure: 'v2 &&
                    v2->getValue()'
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: cbkbbejeap@mailinator.com


--- Comment #0 from Nick Sabalausky <cbkbbejeap@mailinator.com> 2011-06-11 20:18:09 PDT ---
This is a regression in DMD 2.053:

const a = "";

int foo()
{
    const bar = a;
    return 1;
}

enum b = foo();

Result
----------
Assertion failure: 'v2 && v2->getValue()' on line 2615 in file 'interpret.c'

abnormal program termination

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 29, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6149


Iain Buclaw <ibuclaw@ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw@ubuntu.com


--- Comment #1 from Iain Buclaw <ibuclaw@ubuntu.com> 2011-06-29 13:33:47 PDT ---
I don't think I can reproduce this in the current dmd trunk.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 29, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6149


kennytm@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kennytm@gmail.com


--- Comment #2 from kennytm@gmail.com 2011-06-29 15:34:35 PDT ---
(In reply to comment #1)
> I don't think I can reproduce this in the current dmd trunk.

Apparently fixed in https://github.com/D-Programming-Language/dmd/commit/d1c75.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 29, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6149


kennytm@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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