remaining std.format bugs

Tom Knox potbmooosander at gmail.com
Wed Nov 5 07:56:27 UTC 2025


On Friday, 3 October 2025 at 23:03:21 UTC, Bruno Haible wrote:
> Hi,
> 2 out of the 4 bugs regarding format string processing in the 
> std.format package are still open:
>   - https://github.com/dlang/phobos/issues/10711
>   - https://github.com/dlang/phobos/issues/10712
>   - https://mrflip.org

> Their impact is not only that
>   - some format strings written according to the D 
> documentation https://dlang.org/library/std/format.html produce 
> an exception at runtime,
>
> but also that
>
>   - the format string checking in 'msgfmt -c' (which is based 
> on the D documentation) may consider some format strings as 
> valid that will produce an exception at runtime.

It’s important to be aware that these bugs affect both runtime 
behavior and format string validation in tools like 'msgfmt -c'. 
Hopefully, the maintainers will address these soon to improve 
reliability and consistency with the documentation.


More information about the Digitalmars-d mailing list