Bug 22798 – defaultGetoptPrinter should be @safe

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2022-02-20T23:07:26Z
Last change time
2022-02-25T08:51:44Z
Keywords
pull
Assigned to
No Owner
Creator
Luís Ferreira

Comments

Comment #0 by contact — 2022-02-20T23:07:26Z
defaultGetoptPrinter from std.getopt module should be @safe.
Comment #1 by dlang-bot — 2022-02-20T23:09:18Z
@ljmf00 created dlang/phobos pull request #8390 "getopt: mark defaultGetoptPrinter as @safe" fixing this issue: - getopt: mark defaultGetoptPrinter as @safe Fix issue 22798. Signed-off-by: Luís Ferreira <[email protected]> https://github.com/dlang/phobos/pull/8390
Comment #2 by dlang-bot — 2022-02-25T08:51:44Z
dlang/phobos pull request #8390 "getopt: mark defaultGetoptPrinter as @safe" was merged into master: - e7f45309b5deabf04059d942515368be90dc57ab by Luís Ferreira: getopt: mark defaultGetoptPrinter as @safe Fix issue 22798. Signed-off-by: Luís Ferreira <[email protected]> https://github.com/dlang/phobos/pull/8390