[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 01:22:42 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20495
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@schveiguy created dlang/phobos pull request #7347 "Fix issue 20495 (choose
copies unused union member, which is unsafe)" fixing this issue:
- 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