[Issue 2677] New: Alias type parameters not visible in concept-if clauses
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Feb 19 14:49:46 PST 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2677
Summary: Alias type parameters not visible in concept-if clauses
Product: D
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: andrei at metalanguage.com
This may be related to bug 2676. The following code fails to compile by
claiming that "T" does not exist in the concept-if clause.
void foo(T...)(T ts)
if (T.length > 1)
{
}
void main()
{
foo(1, 2);
}
--
More information about the Digitalmars-d-bugs
mailing list