Thread overview
[Issue 11533] Compiler should allow to being nested for static local template functions
Mar 15, 2016
ZombineDev
Mar 15, 2016
Kenji Hara
Nov 14, 2022
RazvanN
March 15, 2016
https://issues.dlang.org/show_bug.cgi?id=11533

ZombineDev <petar.p.kirov@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |petar.p.kirov@gmail.com
         Resolution|FIXED                       |---

--- Comment #4 from ZombineDev <petar.p.kirov@gmail.com> ---
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

--
March 15, 2016
https://issues.dlang.org/show_bug.cgi?id=11533

--- Comment #5 from Kenji Hara <k.hara.pg@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

--
November 14, 2022
https://issues.dlang.org/show_bug.cgi?id=11533

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |razvan.nitu1305@gmail.com
         Resolution|---                         |DUPLICATE

--- Comment #6 from RazvanN <razvan.nitu1305@gmail.com> ---


*** This issue has been marked as a duplicate of issue 5710 ***

--