[Issue 1260] New: Another tuple bug
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 6 22:58:43 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1260
Summary: Another tuple bug
Product: D
Version: 1.015
Platform: PC
OS/Version: Windows
Status: NEW
Severity: blocker
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: samukha at voliacable.com
template Foo(T, Args...)
{
void bar(Args args, T t)
{
}
}
void main()
{
alias Foo!(int) aFoo;
}
Error: error: forward reference of T
Compiles with one more type added to Foo's parameters:
alias Foo!(int, int) aFoo; // ok
--
More information about the Digitalmars-d-bugs
mailing list