February 19, 2009 [Issue 2677] New: Alias type parameters not visible in concept-if clauses | ||||
---|---|---|---|---|
| ||||
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@digitalmars.com ReportedBy: andrei@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); } -- |
March 11, 2009 [Issue 2677] Alias type parameters not visible in concept-if clauses | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2677 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from bugzilla@digitalmars.com 2009-03-11 14:58 ------- Fixed dmd 2.026 -- |
Copyright © 1999-2021 by the D Language Foundation