[Issue 11533] Compiler should allow to being nested for static local template functions

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Mar 15 16:06:10 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=11533

--- Comment #5 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to ZombineDev from comment #4)
> I'm reopening because the test case doesn't work with DMD 2.070.2:
> 
> /d224/f50.d(11): Error: static function f50.main.bar!(nested).bar cannot
> access frame of function D main
> /d224/f50.d(13): Error: template instance f50.main.bar!(nested) error
> instantiating

Oh, thanks for your reopen. The enhancement change was masked to _fix_ issue
11946.
https://github.com/D-Programming-Language/dmd/pull/3884

--


More information about the Digitalmars-d-bugs mailing list