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
, 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