www.fgks.org   »   [go: up one dir, main page]

Issue 21820 - std.format: formatting zero should never lead to empty string
Summary: std.format: formatting zero should never lead to empty string
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All All
: P1 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-11 15:50 UTC by Berni44
Modified: 2021-04-15 07:12 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 Berni44 2021-04-11 15:50:09 UTC
assert(format!"%#.0o"(0) == "0");
Comment 1 Dlang Bot 2021-04-13 20:05:05 UTC
@berni44 created dlang/phobos pull request #7965 "std.format: New version for formatting integral values using writeAligned" mentioning this issue:

- Issue 21820 - std.format: formatting zero should never lead to empty string

https://github.com/dlang/phobos/pull/7965
Comment 2 Dlang Bot 2021-04-15 07:12:19 UTC
dlang/phobos pull request #7965 "std.format: New version for formatting integral values using writeAligned" was merged into master:

- 72cfed4bbaea8cdb4fa55081e075eff8e3514ed6 by berni44:
  Fix Issue 21820 - std.format: formatting zero should never lead to empty string

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