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 |
||
|---|---|---|
| .. | ||
| exact | ||
| types | ||
| vcs | ||