http://d.puremagic.com/issues/show_bug.cgi?id=6310
--- Comment #3 from kenn...@gmail.com 2011-07-20 03:22:10 PDT --- One more test case. --------------------------- void f()() {} @safe int g(alias key)() { typeof(key(0)) k; // line 3. f(); return 0; } void main() { g!((int x) { auto y = &x + 1; return 0; })(); } --------------------------- x.d(3): Error: safe function 'g' cannot call system delegate '__dgliteral1' --------------------------- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------