Thread overview
[Issue 8194] New: "Function cannot access frame" even though all I requested was the type
Jun 05, 2012
Kenji Hara
Jun 12, 2012
Walter Bright
June 03, 2012
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: nobody@puremagic.com
        ReportedBy: wfunction@hotmail.com


--- Comment #0 from wfunction@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: -------
June 05, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8194


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, rejects-valid


--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2012-06-05 16:19:37 PDT ---
https://github.com/D-Programming-Language/dmd/pull/976

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 12, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8194



--- Comment #2 from github-bugzilla@puremagic.com 2012-06-12 09:59:43 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/a1c4351fa4e1a7a06c61dfc1575e0608a064dbf0
fix Issue 8194 - "Function cannot access frame" even though all I requested was
the type

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 12, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8194


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


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