Removed old debug printfs in std.string#5568
Conversation
|
Thanks for your pull request, @JackStouffer! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. |
quickfur
left a comment
There was a problem hiding this comment.
LGTM, thanks for cleaning up dead code!
| void trustedPrintf(in char* str) @trusted nothrow @nogc | ||
| { | ||
| import core.stdc.stdio : printf; | ||
| printf("%s", str); |
There was a problem hiding this comment.
FWIW: we could do the same for writeln and use assumeNoGC + catch all Exceptions - it would be very, very handy for debugging. Hell, we could only version it with version(debug) ...
There was a problem hiding this comment.
debug statements already bypass the @nogc and pure attributes IIRC
|
@JackStouffer I just noticed that there are a lot more of these old debug
|
Continuation of #5180