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

Dlang Bot <[email protected]> changed:

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

--- Comment #1 from Dlang Bot <[email protected]> ---
@pbackus created dlang/phobos pull request #8208 "Fix Issue 22117 - Can't store
scope pointer in a SumType" fixing this issue:

- Fix Issue 22117 - Can't store scope pointer in a SumType

  Previously, the assignment of the local variable 'newStorage' to the
  longer-lived member variable 'storage' caused scope inference to
  (correctly) fail.

  newStorage was necessary to work around issues 21229 and 22118. Since
  those issues have been fixed, newStorage can be safely removed.

https://github.com/dlang/phobos/pull/8208

--

Reply via email to