go/doc/next
Alan Donovan 01064622a2 go/types: add Func.Signature method
Unfortunately we can't enforce the repr invariant
that Func.typ != nil without thinking about the
object color invariants. For now, return a trivial
Signature if typ == nil, which should never happen
in bug-free client code.

Fixes golang/go#65772

Change-Id: I7f89c6d8fdc8dcd4b8880572e54bb0ed9b6136eb
Reviewed-on: https://go-review.googlesource.com/c/go/+/565375
Commit-Queue: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-04-18 22:17:27 +00:00
..
6-stdlib go/types: add Func.Signature method 2024-04-18 22:17:27 +00:00
1-intro.md doc/next: initial contents 2024-01-24 16:44:53 +00:00
2-language.md doc/next: initial contents 2024-01-24 16:44:53 +00:00
3-tools.md Revert "cmd/go/internal/test: add 'tests' vet check to 'go test' suite" 2024-03-14 16:58:10 +00:00
4-runtime.md doc/next: initial contents 2024-01-24 16:44:53 +00:00
5-toolchain.md cmd/go: use cache for PGO preprocessing 2024-04-18 15:39:17 +00:00
7-ports.md misc/wasm: drop wasmtime < 14 support 2024-04-11 17:09:10 +00:00