[Issue 23601] [std.format] acceptedSpecs do match baseOfSpec
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jan 5 09:45:35 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23601
--- Comment #1 from João Lourenço <jlourenco5691 at gmail.com> ---
Another core feature that does not work is ignoring values with '*' with a
compile-time format string. The reasoning is the same as above, the validation
goes through the 'write' version, and because the meaning is different, the
following should compile but doesn't
```d
import std;
void main()
{
int i;
"123".formattedRead!"%d %*u"(i).writeln;
}
```
--
More information about the Digitalmars-d-bugs
mailing list