http://d.puremagic.com/issues/show_bug.cgi?id=7955
Denis <verylonglogin....@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |verylonglogin....@gmail.com --- Comment #1 from Denis <verylonglogin....@gmail.com> 2012-05-03 14:16:10 MSD --- Reduced testcase: --- void f(alias fun)() { } void g(T)() { f!(a => a)(); } void main() { g!int(); g!long(); } --- Error: function main.g!(int).g.f!(__lambda2).f is a nested function and cannot be accessed from main.g!(long).g Workaround: explicitly define lambda type: `(int a) => a`. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------