[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 11:06:35 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24403
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/phobos pull request #8917 "fix Bugzilla Issue 24403 - Nullable doesn't
work with non-mutable types with a destructor" was merged into master:
- 4d9ca315b7cb1925ebf620a8f30f8bf7b47390c4 by Jonathan M Davis:
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