Bug 8194 – "Function cannot access frame" even though all I requested was the type

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-06-03T16:00:00Z
Last change time
2012-06-12T10:01:00Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
wfunction

Comments

Comment #0 by wfunction — 2012-06-03T16:00:45Z
void main() { int foo; static void bar() { typeof(foo) baz; } } // Error: function bar cannot access frame of function D main
Comment #1 by k.hara.pg — 2012-06-05T16:19:37Z
Comment #2 by github-bugzilla — 2012-06-12T09:59:43Z
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