[Issue 6047] Segfault when struct with three or more ulongs with a toString is passed to format with at least two substitution clauses with -m64.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Nov 21 07:45:54 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6047
--- Comment #5 from Nick Sabalausky <cbkbbejeap at mailinator.com> 2011-11-21 07:44:59 PST ---
The format string can be blank and this bug will still be triggered. So a
slight reduction is:
import std.string;
struct A { ulong a, b, c; string toString() { return ""; } }
void main()
{
A a;
format("", a, "");
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list