https://issues.dlang.org/show_bug.cgi?id=23164
Max Samukha changed:
What|Removed |Added
CC||maxsamu...@gmail.com
--
https://issues.dlang.org/show_bug.cgi?id=23164
--- Comment #7 from Iain Buclaw ---
(In reply to Walter Bright from comment #6)
> (In reply to Iain Buclaw from comment #5)
> > // GDC and LDC forces 'auto ref' to be 'ref', even when the
> > // front-end decides to drop the 'ref' from the
https://issues.dlang.org/show_bug.cgi?id=23164
--- Comment #6 from Walter Bright ---
(In reply to Iain Buclaw from comment #5)
> // GDC and LDC forces 'auto ref' to be 'ref', even when the
> // front-end decides to drop the 'ref' from the signature.
> ref std_string opAssign()(const
https://issues.dlang.org/show_bug.cgi?id=23164
Iain Buclaw changed:
What|Removed |Added
CC||ibuc...@gdcproject.org
--- Comment #5 from
https://issues.dlang.org/show_bug.cgi?id=23164
--- Comment #4 from Mathias LANG ---
> Remember that D does not allow internal pointers to members.
If memory serves me well, Andrei mentioned a few years ago that this position
is no longer tenable. Not supporting internal pointers means users
https://issues.dlang.org/show_bug.cgi?id=23164
--- Comment #3 from Walter Bright ---
I find the `auto ref` parameter suspicious. What are you expecting to happen
there? Do you expect it to be passed by ref or by value? It doesn't compile
with making it just `ref`, so simply removing `auto ref`
https://issues.dlang.org/show_bug.cgi?id=23164
--- Comment #2 from Walter Bright ---
If I add @safe and compile with -preview=dip1000, I get:
test23164.d(15): Error: address of variable `this` assigned to `this` with
longer lifetime
test23164.d(22): Error: address of variable `this` assigned to
https://issues.dlang.org/show_bug.cgi?id=23164
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #1
https://issues.dlang.org/show_bug.cgi?id=23164
RazvanN changed:
What|Removed |Added
Keywords||backend
CC|