1
0
mirror of https://github.com/golang/go synced 2024-10-01 05:28:33 -06:00
Commit Graph

2 Commits

Author SHA1 Message Date
Alan Donovan
a6e3cc80e8 oracle: describe: backport fix to 1.4, 1.5
(See CL 19158, bug 14160, commit 35b3d64)

Change-Id: I01ee2bb0eca072141b2c4551789793b1d5c480e3
Reviewed-on: https://go-review.googlesource.com/19189
Reviewed-by: Michael Matloob <matloob@golang.org>
2016-02-04 17:28:22 +00:00
Alan Donovan
542ffc7e75 tools: switch to standard go/types at tip
A few files have been forked and tagged "go1.5,!go1.6" to work around
minor API changes between the two types packages:
- constant.Value.String() in oracle/describe.go and its tests;
- constant.ToInt must now be called before constant.Int64Val.
- types.Config{Importer: importer.Default()} in a number of places
- go/types/typeutil/import_test.go uses lowercase names to avoid 'import "C"'.

Files in go/types/typesutil, missing from my previous CL, have been
tagged !go1.5; these files will be deleted in February.

All affected packages were tested using 1.4.1, 1.5, and ~1.6 (tip).

Change-Id: Iec7fd370e1434508149b378438fb37f65b8d2ba8
Reviewed-on: https://go-review.googlesource.com/18207
Reviewed-by: Robert Griesemer <gri@golang.org>
2016-01-06 22:15:26 +00:00