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

go/constant: doc comments are inconsistent with function signatures #14357

Closed
ghost opened this issue Feb 17, 2016 · 0 comments
Closed

go/constant: doc comments are inconsistent with function signatures #14357

ghost opened this issue Feb 17, 2016 · 0 comments
Milestone

Comments

@ghost
Copy link

ghost commented Feb 17, 2016

// MakeBool returns the Bool value for x.
func MakeBool(b bool) Value { return boolVal(b) }

// MakeString returns the String value for x.
func MakeString(s string) Value { return stringVal(s) }

The comments should read:

// MakeBool returns the Bool value for b.
// MakeString returns the String value for s.

@ianlancetaylor ianlancetaylor added this to the Go1.7 milestone Feb 17, 2016
@golang golang locked and limited conversation to collaborators Feb 28, 2017
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

3 participants