D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 22798 - defaultGetoptPrinter should be @safe
Summary: defaultGetoptPrinter should be @safe
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All All
: P1 enhancement
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2022-02-20 23:07 UTC by Luís Ferreira
Modified: 2022-02-25 08:51 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Luís Ferreira 2022-02-20 23:07:26 UTC
defaultGetoptPrinter from std.getopt module should be @safe.
Comment 1 Dlang Bot 2022-02-20 23:09:18 UTC
@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 <contact@lsferreira.net>

https://github.com/dlang/phobos/pull/8390
Comment 2 Dlang Bot 2022-02-25 08:51:44 UTC
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 <contact@lsferreira.net>

https://github.com/dlang/phobos/pull/8390