[Issue 20495] std.range.choose range is not safe when calling save
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jan 10 05:45:32 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20495
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 #7347 "Fix issue 20495 (choose copies unused union
member, which is unsafe)" was merged into stable:
- 857543416dabea4c5b53867b908a1e103a4580a1 by Steven Schveighoffer:
Fix issue 20495. Fixes safety of save function by passing init value of
unused union member to ctor. Also simplify the @safe inference.
https://github.com/dlang/phobos/pull/7347
--
More information about the Digitalmars-d-bugs
mailing list