Bug 21738 – std.format.spec: singleSpec should throw on "%%"
Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-03-20T09:22:45Z
Last change time
2021-03-23T15:02:45Z
Assigned to
No Owner
Creator
Berni44
Comments
Comment #0 by bugzilla — 2021-03-20T09:22:45Z
singleSpec checks the format specifier and throws if it is invalid, but forgets to throw on %%.
Comment #1 by dlang-bot — 2021-03-20T22:41:47Z
@wolframw created dlang/phobos pull request #7894 "Issue 21738 - std.format.spec: singleSpec should throw on "%%"" mentioning this issue:
- Issue 21738 - std.format.spec: singleSpec should throw on "%%"
https://github.com/dlang/phobos/pull/7894
Comment #2 by dlang-bot — 2021-03-23T15:02:45Z
dlang/phobos pull request #7894 "Fix Issue 21738 - std.format.spec: singleSpec should throw on "%%"" was merged into master:
- 68c7e183d41413c95b37f2e9cf03efa6791bab4c by wolframw:
Fix Issue 21738 - std.format.spec: singleSpec should throw on "%%"
https://github.com/dlang/phobos/pull/7894