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


Leandro Lucarella <leandro.lucare...@sociomantic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |leandro.lucarella@sociomant
                   |                            |ic.com


--- Comment #6 from Leandro Lucarella <leandro.lucare...@sociomantic.com> 
2012-05-03 04:36:04 PDT ---
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

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

Reply via email to