This change affects the API: Func objects now always have a *Signature as type (never a *Builtin). Instead, built-ins now appear as *Builtin objects. Only the built-in name is exposed, other fields are now private to go/types. Several bugs are fixed: - correctly checking for built-ins permitted in statement context - expression statements that are calls are not type-checked twice anymore - go/defer statements report call types and provide good error messages now This CL will briefly break the build until CL 13848043 is submitted. R=adonovan CC=golang-dev https://golang.org/cl/13813043 |
||
|---|---|---|
| blog | ||
| cmd | ||
| dashboard | ||
| go | ||
| godoc | ||
| importer | ||
| oracle | ||
| playground | ||
| pointer | ||
| present | ||
| ssa | ||
| .hgignore | ||
| AUTHORS | ||
| CONTRIBUTORS | ||
| LICENSE | ||
| PATENTS | ||
| README | ||
| codereview.cfg | ||
README
This subrepository holds the source for various packages and tools that support the Go programming language. Although at least some of the tools themselves will be included in binary Go distributions, the packages from which they are built are of little interest to most Go programmers. To submit changes to this repository, see http://golang.org/doc/contribute.html.