]> Cypherpunks repositories - gostls13.git/commit
go/constants: rename go/exact to go/constants
authorAlan Donovan <adonovan@google.com>
Wed, 22 Apr 2015 15:25:29 +0000 (11:25 -0400)
committerAlan Donovan <adonovan@google.com>
Wed, 22 Apr 2015 16:59:31 +0000 (16:59 +0000)
commit677839353e013b13e0fb3d28e01a01a5ccf0c7a1
treef845fe5999f7b5d35edf13292f9555e3b98fc661
parentca9128f18fe75878ba2d5e0df09ae755c085f72a
go/constants: rename go/exact to go/constants

since the "precision" parameter means constant arithmetic is not
necessarily exact.

As requested by gri, within go/types, the local import name 'exact'
has been kept, to reduce the diff with the x/tools branch.  This may
be changed later.

Since the go/types.bash script was already obsolete, I added a comment
to this effect.

Tested with all.bash.

Change-Id: I45153688d9d8afa8384fb15229b0124c686059b4
Reviewed-on: https://go-review.googlesource.com/9242
Reviewed-by: Rob Pike <r@golang.org>
20 files changed:
src/go/build/deps_test.go
src/go/constants/go13.go [moved from src/go/exact/go13.go with 96% similarity]
src/go/constants/go14.go [moved from src/go/exact/go14.go with 93% similarity]
src/go/constants/value.go [moved from src/go/exact/exact.go with 99% similarity]
src/go/constants/value_test.go [moved from src/go/exact/exact_test.go with 99% similarity]
src/go/internal/gcimporter/gcimporter.go
src/go/types.bash
src/go/types/api.go
src/go/types/builtins.go
src/go/types/check.go
src/go/types/conversions.go
src/go/types/decl.go
src/go/types/expr.go
src/go/types/object.go
src/go/types/operand.go
src/go/types/resolver.go
src/go/types/self_test.go
src/go/types/stmt.go
src/go/types/typexpr.go
src/go/types/universe.go