www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2100] New: Assertion failure: '0' on line 4842 in file 'expression.c'

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2100

           Summary: Assertion failure: '0' on line 4842 in file
                    'expression.c'
           Product: D
           Version: 1.029
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: samukha voliacable.com


I have not been able to find a reasonable workaround yet, so marking it as a
blocker. May be related to or duplicate of other expression.c failures.  
----
template Tuple(A...)
{
    alias A Tuple;
}

int x;
alias Tuple!(x) Foos;

template Filter()
{
    alias Tuple!(Foos[0]) FilteredFoos;
}

static assert(Filter!().FilteredFoos.length == 1);

void main()
{    
}
----
Assertion failure: '0' on line 4842 in file 'expression.c'

abnormal program termination


-- 
May 12 2008
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2100


bugzilla digitalmars.com changed:

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




------- Comment #1 from bugzilla digitalmars.com  2008-05-22 05:07 -------
Fixed dmd 2.014


-- 
May 22 2008