Thread overview
[Issue 20071] ref locals
Jul 23, 2019
Walter Bright
Jul 23, 2019
Manu
Dec 17, 2022
Iain Buclaw
July 23, 2019
https://issues.dlang.org/show_bug.cgi?id=20071

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com

--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> ---
This is not allowed because it would make the memory safe checks in the compiler much harder.

--
July 23, 2019
https://issues.dlang.org/show_bug.cgi?id=20071

--- Comment #2 from Manu <turkeyman@gmail.com> ---
How so? ref is more restrictive than pointers if anything. The fact they can't be re-bound and don't mess with assignment semantics are desirable advantages. It's also another case of weird asymmetry which I've had to try and explain lots of times, and there's no explanation I can give.

At very least it should be identical complexity?

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=20071

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P4

--
December 13
https://issues.dlang.org/show_bug.cgi?id=20071

--- Comment #3 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/17916

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--