]> Cypherpunks repositories - gostls13.git/commit
go/types: rename UsesCgo to go115UsesCgo
authorMatthew Dempsky <mdempsky@google.com>
Wed, 10 Jun 2020 19:47:23 +0000 (12:47 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Wed, 10 Jun 2020 21:39:03 +0000 (21:39 +0000)
commit6aadfcdfad663738519535abc76e819d2843375d
tree9354953fc49827f9b3a9cb106acdc951fdc5ad78
parentec177e4c83a5f318e3d65e6405ffbd0715834a98
go/types: rename UsesCgo to go115UsesCgo

This API and functionality was added late in the Go 1.15 release
cycle, and use within gopls has revealed some shortcomings. It's
possible (but not decided) that we'll want a different API long-term,
so for now this CL renames UsesCgo to a non-exported name to avoid
long-term commitment under the Go 1 compat guarantee.

Updates #16623.
Updates #39072.

Change-Id: I04bc0c161a84adebe43e926df5df406bc794c3db
Reviewed-on: https://go-review.googlesource.com/c/go/+/237417
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
api/go1.15.txt
src/go/internal/srcimporter/srcimporter.go
src/go/types/api.go
src/go/types/check.go
src/go/types/resolver.go