December 22, 2023 [Issue 24298] cpp_delete should check for null | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24298 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> --- @tim-dlang created dlang/dmd pull request #15943 "Fix issue 24298 - cpp_delete should check for null" fixing this issue: - Fix issue 24298 - cpp_delete should check for null The delete operator in C++ can be called with a null pointer and ignores it. This commit makes cpp_delete consistent with C++, so null pointers are also ignored. https://github.com/dlang/dmd/pull/15943 -- |
December 22, 2023 [Issue 24298] cpp_delete should check for null | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24298 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #15943 "Fix issue 24298 - cpp_delete should check for null" was merged into master: - a70e1771f8f9fa56e111859feaa8800d17755dd7 by Tim Schendekehl: Fix issue 24298 - cpp_delete should check for null The delete operator in C++ can be called with a null pointer and ignores it. This commit makes cpp_delete consistent with C++, so null pointers are also ignored. https://github.com/dlang/dmd/pull/15943 -- |
Copyright © 1999-2021 by the D Language Foundation