← Back to index
|
Original Bugzilla link
Bug 8771 – Wrong writeln of negative numbers
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2012-10-06T13:49:00Z
Last change time
2012-10-07T05:10:31Z
Assigned to
nobody
Creator
bearophile_hugs
Comments
Comment #0
by bearophile_hugs — 2012-10-06T13:49:24Z
Spinoff of Issue 8219 import std.stdio: writeln; void main() { writeln(-1); } This prints "1-".
Comment #1
by bearophile_hugs — 2012-10-07T05:10:31Z
Fixed:
https://github.com/D-Programming-Language/phobos/commit/23a50d6a27f72d8599c46322f7e5a495f9ac1d83