Skip to content

reflect: document TypeOf(nil) #3549

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

Closed
dsymonds opened this issue Apr 19, 2012 · 3 comments
Closed

reflect: document TypeOf(nil) #3549

dsymonds opened this issue Apr 19, 2012 · 3 comments
Labels
Documentation Issues describing a change to documentation. FrozenDueToAge

Comments

@dsymonds
Copy link
Contributor

ValueOf(nil) is documented to return the zero Value. There is no declared behaviour for
TypeOf(nil).
@dsymonds
Copy link
Contributor Author

Comment 1:

I can't see any test for TypeOf(nil) either.

@robpike
Copy link
Contributor

robpike commented Apr 23, 2012

Comment 2:

This issue was closed by revision 5337290.

Status changed to Fixed.

@robpike
Copy link
Contributor

robpike commented Apr 25, 2012

Comment 3:

This issue was closed by revision a67ec2f839a0.

@dsymonds dsymonds added fixed Documentation Issues describing a change to documentation. labels Apr 25, 2012
robpike added a commit that referenced this issue May 11, 2015
««« backport 82aaf0925029
reflect: document and test TypeOf(nil)
Fixes #3549.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/6107047
»»»
@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc removed their assignment Jun 22, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation Issues describing a change to documentation. FrozenDueToAge
Projects
None yet
Development

No branches or pull requests

4 participants