January 04, 2023 [Issue 23600] [std.format.read] formattedRead static asserts with Tuple and compile time format string | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23600 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> --- @iK4tsu updated dlang/phobos pull request #8661 "Fix: [std.format.read] formattedRead static asserts with Tuple and compile time format string" fixing this issue: - fix(format.read): formattedRead incorrectly static asserts with Tuple and compile-time format string This method supports std.typecons.Tuple, however, when passing the format string at compile-time, the format validation does not correctly account for the std.typecons.Tuple's types and instead validates the std.typecons.Tuple itself leading to a static assert. This change now adds support for this feature when used with compile-time format strings. Fix Issue #23600 Signed-off-by: João Lourenço <jlourenco5691@gmail.com> https://github.com/dlang/phobos/pull/8661 -- |
January 05, 2023 [Issue 23600] [std.format.read] formattedRead static asserts with Tuple and compile time format string | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23600 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/phobos pull request #8661 "Fix: [std.format.read] formattedRead static asserts with Tuple and compile time format string" was merged into master: - c4192e855e4fefe6e40e62d7994decce47d21fa1 by João Lourenço: fix(format.read): formattedRead incorrectly static asserts with Tuple and compile-time format string This method supports std.typecons.Tuple, however, when passing the format string at compile-time, the format validation does not correctly account for the std.typecons.Tuple's types and instead validates the std.typecons.Tuple itself leading to a static assert. This change now adds support for this feature when used with compile-time format strings. Fix Issue #23600 Signed-off-by: João Lourenço <jlourenco5691@gmail.com> https://github.com/dlang/phobos/pull/8661 -- |
Copyright © 1999-2021 by the D Language Foundation