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

           Summary: "Function cannot access frame" even though all I
                    requested was the type
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: wfunct...@hotmail.com


--- Comment #0 from wfunct...@hotmail.com 2012-06-03 16:00:45 PDT ---
void main()
{
    int foo;
    static void bar() { typeof(foo) baz; }
}

// Error: function bar cannot access frame of function D main

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

Reply via email to