Bug 2349 – Assertion failure: '0' on line 886 in file 'glue.c'
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2008-09-08T12:24:00Z
Last change time
2015-06-09T01:20:17Z
Keywords
ice-on-valid-code
Assigned to
bugzilla
Creator
samukha
Comments
Comment #0 by samukha — 2008-09-08T12:24:32Z
Caused by a combination of 'auto' and parameter tuple in a function template.
template Tuple(A...)
{
alias A Tuple;
}
auto foo()(Tuple!(int) a)
{
}
void main()
{
foo!()(1);
}
Comment #1 by dsimcha — 2008-09-08T12:49:56Z
*** This bug has been marked as a duplicate of 2251 ***