[Issue 20401] ref variable copied before return
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Nov 17 17:57:53 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=20401
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@SSoulaimane updated dlang/dmd pull request #10577 "Fix issue 20401 - The glue
shouldn't copy side effects by value where the lvalue is wanted" fixing this
issue:
- Fix issue 20401 - The glue shouldn't copy side effects by value where the
lvalue is wanted
By ref semantics should be preserved when extracting side effects.
https://github.com/dlang/dmd/pull/10577
--
More information about the Digitalmars-d-bugs
mailing list