1
0
mirror of https://github.com/golang/go synced 2024-09-30 14:08:32 -06:00
go/refactor/eg
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
..
testdata refactor/eg: fix crash while unifying wildcard with KeyValueExpr, which has no type 2015-05-29 16:42:57 +00:00
eg14_test.go x/tools/...: fork and tag !1.5 all files that use go/types et al 2016-01-06 20:40:09 +00:00
eg14.go x/tools/...: fork and tag !1.5 all files that use go/types et al 2016-01-06 20:40:09 +00:00
eg_test.go tools: switch to standard go/types at tip 2016-01-06 22:15:26 +00:00
eg.go tools: switch to standard go/types at tip 2016-01-06 22:15:26 +00:00
match14.go x/tools/...: fork and tag !1.5 all files that use go/types et al 2016-01-06 20:40:09 +00:00
match.go tools: switch to standard go/types at tip 2016-01-06 22:15:26 +00:00
rewrite14.go x/tools/...: fork and tag !1.5 all files that use go/types et al 2016-01-06 20:40:09 +00:00
rewrite.go tools: switch to standard go/types at tip 2016-01-06 22:15:26 +00:00