https://issues.dlang.org/show_bug.cgi?id=20581

Dlang Bot <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #5 from Dlang Bot <[email protected]> ---
@MoonlightSentinel created dlang/dmd pull request #12258 "Fix Issue 20581 -
DIP1000 wrongly flags hidden ref temporary" fixing this issue:

- Fix Issue 20581 - DIP1000 wrongly flags hidden ref temporary

  Restrict errors for escaping by ref to `VarDeclaration`'s that actually
  outlive the referenced `VarDeclaration`.

  The only exceptions to this rule are references to other `ref` parameters

https://github.com/dlang/dmd/pull/12258

--

Reply via email to