Open AlphaLxy opened 3 days ago
Related Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
Seems that
func (p *printer) doPrintf(fmt string) {
for p.fmt.Parser.SetFormat(fmt); p.fmt.Scan(); {
switch p.fmt.Status {
case format.StatusText:
p.WriteString(p.fmt.Text())
case format.StatusSubstitution:
p.printArg(p.Arg(p.fmt.ArgNum), p.fmt.Verb)
do not set p.fmt.Reordered
.
CC @mpvl.
Go version
go version go1.21.4 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
I use
catalog.Var
between two%d
substitutions.What did you see happen?
What did you expect to see?