Bug 2100 – Assertion failure: '0' on line 4842 in file 'expression.c'
Status
RESOLVED
Resolution
FIXED
Severity
blocker
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2008-05-12T05:09:00Z
Last change time
2014-02-24T15:30:13Z
Assigned to
bugzilla
Creator
samukha
Comments
Comment #0 by samukha — 2008-05-12T05:09:38Z
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