fmt: flag _ not exposed to custom Formatters #43851
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
I attempted to write a custom Formatter that uses the
_
flag.Result: The custom Formatter doesn't receive the
_
flag, and the format verb is printed (along with Format being called!).Reproduction below and at https://play.golang.org/p/sPPOdzVnC-W.
In the
Format "%_x":
block in the output, note the_: false
line as well as the stray "x" output.cc @robpike @martisch
The text was updated successfully, but these errors were encountered: