← Back to index
|
Original Bugzilla link
Bug 15321 – std.format.format is impure for doubles
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2015-11-12T06:39:44Z
Last change time
2019-10-22T10:49:01Z
Assigned to
No Owner
Creator
Infiltrator
Comments
Comment #0
by lt.infiltrator — 2015-11-12T06:39:44Z
=============== import std.format; void main() pure @safe { format("%s", 1.0); } =============== Compilation output: test.d(5): Error: pure function 'D main' cannot call impure function 'std.format.format!(char, double).format' ===============
Comment #1
by timosesu — 2018-09-10T12:10:54Z
Duplicate of 17628 ?
Comment #2
by bugzilla — 2019-10-22T10:49:01Z
*** This issue has been marked as a duplicate of issue 17628 ***