[Issue 24403] Nullable doesn't work with non-mutable types with a destructor

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 21 06:03:19 UTC 2024


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

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

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@jmdavis created dlang/phobos pull request #8917 "fix Bugzilla Issue 24403 -
Nullable doesn't work with non-mutable types with a destructor" fixing this
issue:

- fix Bugzilla Issue 24403 - Nullable doesn't work with non-mutable types with
a destructor

  This should make it so that a variable of type Nullable!T has the same
  behavior with regards to destruction as a variable of type T even when
  it's const, immutable, or shared.

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

--


More information about the Digitalmars-d-bugs mailing list