'scope' confusion
Dennis
dkorpel at gmail.com
Mon May 2 11:51:29 UTC 2022
On Sunday, 1 May 2022 at 05:05:47 UTC, Paul Backus wrote:
> Looks like the compiler has a blanket rule against taking the
> address of a `ref` return value if the value's type contains
> indirections.
True. I thought this wouldn't be a problem in my fix for [Issue
22519 - [dip1000] cannot take address of `ref
return`](https://issues.dlang.org/show_bug.cgi?id=22519), but the
`opIndex` of a dynamic array is a compelling case, so I'm working
on it.
https://issues.dlang.org/show_bug.cgi?id=23079
https://github.com/dlang/dmd/pull/14062
More information about the Digitalmars-d
mailing list