Bug 2914 – to!string(struct) is broken

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86
OS
All
Creation time
2009-04-29T20:41:00Z
Last change time
2015-06-09T01:26:25Z
Assigned to
bugzilla
Creator
jason.james.house

Comments

Comment #0 by jason.james.house — 2009-04-29T20:41:21Z
to's if condition uses is(T.init.toString) instead of is(typeof(T.init.toString)). This makes to act as if the structs never include a toString method
Comment #1 by andrei — 2009-04-29T22:01:39Z
Fixed in svn, will deploy with 2.030. Thanks!