[Issue 22154] Pure functions should be able to use only the address of a global

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 28 16:01:54 UTC 2021


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

Mathias LANG <pro.mathias.lang at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pro.mathias.lang at gmail.com

--- Comment #1 from Mathias LANG <pro.mathias.lang at gmail.com> ---
If we allow it, what prevents the function from then passing it down to another
pure function that will read / write to it ?

--


More information about the Digitalmars-d-bugs mailing list