http://d.puremagic.com/issues/show_bug.cgi?id=5499



--- Comment #7 from Leandro Lucarella <leandro.lucare...@sociomantic.com> 
2012-05-03 04:36:34 PDT ---
(In reply to comment #6)
> Another simpler test case, or is this another bug?
> 
> ---
> void foo(alias f)() {
>     f();
> }
> 
> void bar() {
>         foo!({})();
> }
> 
> void main() {
>         bar();
> }
> ---
> 
> m1.d(1): Error: function m1.bar.foo!(delegate void()
> {
> }
> ).foo is a nested function and cannot be accessed from main

Maybe is another bug because this is D1 only.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to