[Issue 13550] Inner functions take outer function attributes erroneously
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Sep 28 01:56:39 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13550
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
Hardware|x86 |All
OS|Windows |All
--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
Actually, since the source for local functions is provided, their attributes
should be inferred.
If the attributes for the local function are incompatible with the attributes
for the enclosing function, and the enclosing function calls the local
function, then a compile time error should be issued.
--
More information about the Digitalmars-d-bugs
mailing list