go/doc/next/6-stdlib/99-minor
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
..
archive/tar doc: make use of simpler symbol links for relnotes 2024-04-12 20:57:18 +00:00
database/sql doc: make use of simpler symbol links for relnotes 2024-04-12 20:57:18 +00:00
debug/elf debug/elf: define non-standard but well-known symbol types 2024-04-16 00:01:16 +00:00
go/types go/types: add Func.Signature method 2024-04-18 22:17:27 +00:00
net doc: simplify symbol links for relnotes 2024-04-18 16:00:16 +00:00
os doc: make use of simpler symbol links for relnotes 2024-04-12 20:57:18 +00:00
path/filepath doc: make use of simpler symbol links for relnotes 2024-04-12 20:57:18 +00:00
reflect doc: make use of simpler symbol links for relnotes 2024-04-12 20:57:18 +00:00
runtime/debug doc: make use of simpler symbol links for relnotes 2024-04-12 20:57:18 +00:00
slices doc: make use of simpler symbol links for relnotes 2024-04-12 20:57:18 +00:00
sync doc: update relnote for sync.Map.Clear 2024-04-10 17:07:25 +00:00
syscall doc: make use of simpler symbol links for relnotes 2024-04-12 20:57:18 +00:00
testing/fstest doc: make use of simpler symbol links for relnotes 2024-04-12 20:57:18 +00:00
unicode/utf16 doc: make use of simpler symbol links for relnotes 2024-04-12 20:57:18 +00:00
0-heading.md doc/next: initial contents 2024-01-24 16:44:53 +00:00
README doc/next: initial contents 2024-01-24 16:44:53 +00:00

API changes and other small changes to the standard library go here.