http://d.puremagic.com/issues/show_bug.cgi?id=7416
Summary: 2.058 regression: fails to instantiate a constrained function template with a nested function 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: mailm...@nilsb.dyndns.org --- Comment #0 from Nils <mailm...@nilsb.dyndns.org> 2012-02-01 03:18:11 PST --- --- void t(alias a)() if(is(typeof(a()))) {} void failure() { void f() {} alias t!f x; // "does not match template declaration" } --- introduced by commit 47a6eab28b169849e835ea1299a811ec946f1a89 (Add escape check to nested function symbol) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------