[Issue 17242] Specialized templates defined inside functions fail lookup, moving them outside makes them work
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 18 09:53:12 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=17242
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |razvan.nitu1305 at gmail.com
Resolution|--- |INVALID
--- Comment #2 from RazvanN <razvan.nitu1305 at gmail.com> ---
Indeed, according to the spec [1] this is invalid.
[1] https://dlang.org/spec/function.html#nested-declaration-order
--
More information about the Digitalmars-d-bugs
mailing list