Bug 10167 – Wrong Document Comment on std.format.d(181)

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-05-25T04:13:00Z
Last change time
2013-05-28T17:53:02Z
Assigned to
nobody
Creator
r.97all

Comments

Comment #0 by r.97all — 2013-05-25T04:13:38Z
https://github.com/D-Programming-Language/phobos/blob/96c51fae9b12b0c09df7e28acdd0b3a400f35323/std/format.d line 181-182: $(TR $(TD $(B ' ')) $(TD numeric)) $(TD Prefix positive numbers in a signed conversion with a space.)) should be: $(TR $(TD $(B ' ')) $(TD numeric) $(TD Prefix positive numbers in a signed conversion with a space.)) with an extra ')' removed.
Comment #1 by github-bugzilla — 2013-05-25T14:55:23Z
Comment #2 by github-bugzilla — 2013-05-27T02:34:19Z
Comment #3 by r.97all — 2013-05-28T01:16:28Z
I found that line 176 of std.format.d is wrong: $(TR $(TD $(B '#')) $(TD numeric ($(B '0'))) $(TD Use leading and thought it should be: $(TR $(TD $(B '0')) $(TD numeric ($(B '0'))) $(TD Use leading but Mr. Kenji Hara pointed that actually I could remove unnecessary text and made it: $(TR $(TD $(B '0')) $(TD numeric) $(TD Use leading Sorry for making incomplete pull request first: https://github.com/D-Programming-Language/phobos/pull/1307
Comment #4 by github-bugzilla — 2013-05-28T17:53:02Z