http://d.puremagic.com/issues/show_bug.cgi?id=9076
Summary: Aliased template function and property resolution doesn't work 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: k.hara...@gmail.com --- Comment #0 from Kenji Hara <k.hara...@gmail.com> 2012-11-25 08:21:44 PST --- This code doesn't work. //import std.algorithm : forward; template forward(args...) { @property forward()(){ return args[0]; } } void main() { int a = 1; int b = 1; assert(a == forward!b); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------