Thread overview
[Issue 21212] [DIP1000] taking `ref` parameter address check leaking when dip1000 is enabled
Aug 31
ag0aep6g
May 20
Dlang Bot
Jun 10
Dennis
August 31
https://issues.dlang.org/show_bug.cgi?id=21212

ag0aep6g <ag0aep6g@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid, safe
                 CC|                            |ag0aep6g@gmail.com

--
May 20
https://issues.dlang.org/show_bug.cgi?id=21212

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@UplinkCoder created dlang/dmd pull request #12545 "Fix Issue 21212 - Segfault with -dip1000" fixing this issue:

- Fix Issue 21212 - Segfault with -dip1000

https://github.com/dlang/dmd/pull/12545

--
June 10
https://issues.dlang.org/show_bug.cgi?id=21212

Dennis <dkorpel@live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|pull                        |
             Status|NEW                         |RESOLVED
                 CC|                            |dkorpel@live.nl
           Hardware|x86_64                      |All
         Resolution|---                         |DUPLICATE
                 OS|Mac OS X                    |All

--- Comment #2 from Dennis <dkorpel@live.nl> ---
`update` is not `scope`, and taking the address of a `ref` should result in a scope pointer, which can't be assigned to non-scope `this`. Therefore this is the same as "Issue 20245 - DIP1000: Should infer scope when taking address of ref"

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

--