Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fmt: the priority of Formatter and Stringer checks during printing is not documented #7571

kortschak opened this issue Mar 18, 2014 · 2 comments


Copy link

@kortschak kortschak commented Mar 18, 2014

The behaviour of Print family functions when given types that implement both Formatter
and Stringer (unlikely as that may be) is not documented, nor is the fact that %T and %p
take priority over the Formatter check.
Copy link

@robpike robpike commented Mar 26, 2014

Comment 1:

Easy to fix. Do it for 1.3.

Labels changed: added release-go1.3, documentation.

Owner changed to @robpike.

Status changed to Accepted.

Copy link

@robpike robpike commented Mar 26, 2014

Comment 2:

This issue was closed by revision 274fc76.

Status changed to Fixed.

@rsc rsc added this to the Go1.3 milestone Apr 14, 2015
@rsc rsc removed the release-go1.3 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.