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

Closed
kortschak opened this issue Mar 18, 2014 · 2 comments

Comments

@kortschak
Copy link
Contributor

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.
@robpike
Copy link
Contributor

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.

@robpike
Copy link
Contributor

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
@rsc rsc unassigned robpike Jun 23, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants