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

Dlang Bot <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Dlang Bot <[email protected]> ---
dlang/dmd pull request #12258 "Fix Issue 20581 - DIP1000 wrongly flags hidden
ref temporary" was merged into master:

- 7fa99471be7ecaba5c9472a1a5d7f2f78c3c1fde by MoonlightSentinel:
  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