commit | 64259d1afd709d54191bd9bae39e82daf2a126e0 | [log] [tgz] |
---|---|---|
author | Jean de Klerk <deklerk@google.com> | Tue Jun 07 14:09:17 2022 +0200 |
committer | Jean de Klerk <deklerk@google.com> | Wed Jun 08 14:32:24 2022 +0000 |
tree | 2264a2fc9eb900ee42399e4cfd2b3ba2175704c3 | |
parent | a3771dd900e0cb0e49642c9c8adab62f183b563e [diff] |
apidiff: handle TypeParam in order to handle generic code This enables apidiff to handle code that uses generics, whereas currently it panics when it encounters it. Change-Id: Ic77561fd4f269d2060da76ccdaab9166ec65e7ca Reviewed-on: https://go-review.googlesource.com/c/exp/+/410855 Reviewed-by: Jonathan Amsterdam <jba@google.com>
This subrepository holds experimental and deprecated (in the old
directory) packages.
The idea for this subrepository originated as the pkg/exp
directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get
these packages.
Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.
In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)
Caveat emptor.