http://d.puremagic.com/issues/show_bug.cgi?id=8761
Summary: variadic template with nested function using tuple
fails
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Fawzi Mohamed <[email protected]> 2012-10-04 15:03:41 PDT ---
module t3;
struct A
{
int i=1;
~this(){}
}
void ff(S...)(void delegate(S) dlg)
{
void tt(){
S arg;
}
}
void h(){
void gg(A){}
ff(&gg);
}
--------
ICE with dmd 2.060:
Internal error: ../ztc/cgcs.c 343
using a scoped delegate does not have the problem
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------