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/types: refers to go/constant as exact #11949

dvyukov opened this issue Jul 30, 2015 · 2 comments

go/types: refers to go/constant as exact #11949

dvyukov opened this issue Jul 30, 2015 · 2 comments


Copy link

dvyukov commented Jul 30, 2015

go/types docs:
periodically refer to a package exact. For example:

Constant folding computes the exact constant value (exact.Value) for every expression


type TypeAndValue struct {
    Type  Type
    Value exact.Value
    // contains filtered or unexported fields

This is very confusing. There is no package exact.
I understand this was introduced during refactoring, but the cost of confused users is higher than the cost of sed invocation.

@griesemer griesemer added this to the Go1.6 milestone Jul 30, 2015
Copy link

Since we're late in the release cycle I'll address the documentation (comment) issue for now.

griesemer added a commit that referenced this issue Jul 30, 2015
For #11949.

Change-Id: I4329604a24efc7f40cf5bf52fb3c9e30916b3cc2
Reviewed-by: Alan Donovan <>
Copy link

CL mentions this issue.

@robpike robpike closed this as completed in ecead89 Aug 4, 2015
@mikioh mikioh modified the milestones: Go1.5, Go1.6 Aug 4, 2015
@golang golang locked and limited conversation to collaborators Aug 5, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet

No branches or pull requests

4 participants