[Issue 20726] @safe function can modify __gshared data if passed as ref parameter default value

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 8 20:58:16 UTC 2020


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

John Hall <john.michael.hall at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |john.michael.hall at gmail.com
         Resolution|---                         |DUPLICATE

--- Comment #1 from John Hall <john.michael.hall at gmail.com> ---
This was originally brought up here 
https://forum.dlang.org/thread/fxypbhrvnlogarudrbtn@forum.dlang.org
with respect to __gshared default function parameters by themselves. 

It seems as if this is a duplicate of 
https://issues.dlang.org/show_bug.cgi?id=19645

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

--


More information about the Digitalmars-d-bugs mailing list