1
0
mirror of https://github.com/golang/go synced 2024-11-18 11:24:41 -07:00
go/cmd/gotype
Robert Griesemer 2f69a5922b cmd/gotype: make it compile against Go 1.8 and earlier
types.SizesFor was introduced for Go 1.9. Need to provide
a local implementation to have gotype build against earlier
versions.

Fixes golang/go#19545.

Change-Id: I6fdbe414e6574eda00c01295b666230daff2dfdc
Reviewed-on: https://go-review.googlesource.com/38157
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
2017-03-14 21:50:22 +00:00
..
gotype.go cmd/gotype: make it compile against Go 1.8 and earlier 2017-03-14 21:50:22 +00:00
sizesFor18.go cmd/gotype: make it compile against Go 1.8 and earlier 2017-03-14 21:50:22 +00:00
sizesFor19.go cmd/gotype: make it compile against Go 1.8 and earlier 2017-03-14 21:50:22 +00:00