Bug 7036 – Using std.string.format on a shared value throws access violation

Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2011-11-30T01:44:00Z
Last change time
2013-01-21T18:50:09Z
Assigned to
nobody
Creator
andrej.mitrovich

Comments

Comment #0 by andrej.mitrovich — 2011-11-30T01:44:10Z
import std.string; void main() { shared int val; auto x = format("%s", val); } object.Error: Access Violation
Comment #1 by andrej.mitrovich — 2013-01-21T18:50:09Z
Seems to work in 2.061.