digitalmars.D - remaining std.format bugs
- Bruno Haible (13/13) Oct 03 Hi,
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 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.
Oct 03
On Friday, 3 October 2025 at 23:03:21 UTC, Bruno Haible wrote:2 out of the 4 bugsneither should be fixed
Oct 03
On Friday, 3 October 2025 at 23:05:51 UTC, monkyyy wrote:On Friday, 3 October 2025 at 23:03:21 UTC, Bruno Haible wrote:I kinda agree. Some extra info or docs about this would be enough.2 out of the 4 bugsneither should be fixed
Nov 06
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.orgTheir 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.
Nov 04









Kapendev <alexandroskapretsos gmail.com> 