Synchronize D 2.101.0 release with tooling please
Dennis
dkorpel at gmail.com
Wed Nov 16 15:39:18 UTC 2022
On Wednesday, 16 November 2022 at 14:56:29 UTC, Adam D Ruppe
wrote:
> I don't see the benefit.
The reason this was done is because for memory safety, class
destructors shouldn't escape `this` in the constructor, so a PR
was made to make class destructors implicitly `scope`.
https://issues.dlang.org/show_bug.cgi?id=22680
https://github.com/dlang/dmd/pull/14402
Since std.socket calls `close` in the destructor of a socket,
`close` had to be marked `scope` as well.
More information about the Digitalmars-d
mailing list