http://d.puremagic.com/issues/show_bug.cgi?id=6269
Summary: aliasing in IsExpression doesn't work when used inside a template constraint Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: mrmoc...@gmx.de --- Comment #0 from Trass3r <mrmoc...@gmx.de> 2011-07-08 06:04:07 PDT --- template Foo(T) if (is(T U : U*)) { pragma(msg, U); } Foo!(int*) f; foo.d(4): Error: undefined identifier U, did you mean variable f? __error foo.d(6): Error: template instance Foo!(int*) error instantiating foo.d(6): Error: Foo!(int*) is used as a type -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------