[Issue 20401] ref variable copied before return
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 23 00:46:17 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=20401
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #10577 "Fix issue 20401 - The glue shouldn't copy side
effects by value where the lvalue is wanted" was merged into master:
- 4cfff1cfb084ad54dc27c3dd32c203a89ecde230 by سليمان السهمي (Suleyman Sahmi):
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