[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 09:32:42 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=11533
ZombineDev <petar.p.kirov at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |petar.p.kirov at gmail.com
Resolution|FIXED |---
--- Comment #4 from ZombineDev <petar.p.kirov at 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
--
More information about the Digitalmars-d-bugs
mailing list