[Issue 17420] std.format.formatObject doesn't work with @safe toString specialization

2018-02-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17420 Jack Stouffer changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 17420] std.format.formatObject doesn't work with @safe toString specialization

2017-05-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17420 --- Comment #4 from Nick Treleaven --- Edit: dmd can't allow it. --

[Issue 17420] std.format.formatObject doesn't work with @safe toString specialization

2017-05-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17420 --- Comment #3 from Nick Treleaven --- Sorry, yes (didn't have the source code to hand). > If the toString overload is marked with any of these, hasToString!(YourType) > == 0 class N { @nogc void toString(scope void

[Issue 17420] std.format.formatObject doesn't work with @safe toString specialization

2017-05-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17420 --- Comment #2 from Jack Stouffer --- (In reply to Nick Treleaven from comment #1) > I think you mean formatValue rather than formatObject: > > https://dlang.org/phobos/std_format.html#.formatValue.10 No, I meant

[Issue 17420] std.format.formatObject doesn't work with @safe toString specialization

2017-05-24 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17420 Nick Treleaven changed: What|Removed |Added CC||n...@geany.org --- Comment

[Issue 17420] std.format.formatObject doesn't work with @safe toString specialization

2017-05-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17420 Jack Stouffer changed: What|Removed |Added Summary|std.format.formatObject