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

Dlang Bot <[email protected]> changed:

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

--- Comment #2 from Dlang Bot <[email protected]> ---
dlang/phobos pull request #8208 "Fix Issue 22117 - Can't store scope pointer in
a SumType" was merged into master:

- 5ac515b52c7bb19d81303e4d89e80a6faeaf9028 by Paul Backus:
  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