[Issue 23739] Can't return by ref from opApply iteration

2023-02-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23739 --- Comment #4 from timon.g...@gmx.ch --- (In reply to kinke from comment #2) > The 1st testcase just requires a `foreach (ref x; s)`, which I think is > consistent. > > The 2nd one never sets `S.x` before dereferencing it, so adding `ref` there > st

[Issue 23739] Can't return by ref from opApply iteration

2023-02-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23739 timon.g...@gmx.ch changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 23739] Can't return by ref from opApply iteration

2023-02-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23739 timon.g...@gmx.ch changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 23739] Can't return by ref from opApply iteration

2023-02-27 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23739 Iain Buclaw changed: What|Removed |Added Priority|P1 |P2 --

[Issue 23739] Can't return by ref from opApply iteration

2023-02-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23739 kinke changed: What|Removed |Added CC||ki...@gmx.net --- Comment #2 from kinke --- The 1st

[Issue 23739] Can't return by ref from opApply iteration

2023-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23739 timon.g...@gmx.ch changed: What|Removed |Added Keywords||safe --- Comment #1 from timon.g...@gmx.c

[Issue 23739] Can't return by ref from opApply iteration

2023-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23739 timon.g...@gmx.ch changed: What|Removed |Added Severity|normal |major --