https://issues.dlang.org/show_bug.cgi?id=11729 --- Comment #4 from anonymous4 <dfj1esp02 at sneakemail.com> --- And I think this can't be patched in phobos: formatObject can't work with protected toString, hence it must be skipped, which results in the generic template mismatch error. --