[Issue 21212] [DIP1000] taking `ref` parameter address check leaking when dip1000 is enabled

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 10 18:11:54 UTC 2021


Dennis <dkorpel at live.nl> changed:

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

--- Comment #2 from Dennis <dkorpel at 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

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


More information about the Digitalmars-d-bugs mailing list