Go to file
Robert Griesemer a05da76c7b go.tools/go/types: represent built-ins as Objects (rather than types)
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
2013-09-23 15:14:17 -07:00
blog go.tools/blog: use atom and present packages from go.tools 2013-09-19 10:58:36 +10:00
cmd go.tools/pointer: reflect, part 2: channels. 2013-09-23 16:13:01 -04:00
dashboard go.tools/dashboard: add option to build gccgo revisions 2013-09-11 16:45:24 -07:00
go go.tools/go/types: represent built-ins as Objects (rather than types) 2013-09-23 15:14:17 -07:00
godoc go.tools/blog: use atom and present packages from go.tools 2013-09-19 10:58:36 +10:00
importer go.tools/go/types: separate package descriptor from package object 2013-09-13 09:52:57 -07:00
oracle go.tools/pointer: reflect, part 2: channels. 2013-09-23 16:13:01 -04:00
playground go.tools/playground/socket: move package from go.talks 2013-09-19 10:59:00 +10:00
pointer go.tools/pointer: reflect, part 2: channels. 2013-09-23 16:13:01 -04:00
present go.tools/godoc/present: move present package from go.talks 2013-09-19 10:55:46 +10:00
ssa go.tools/ssa: fix ssa tests (fix build partly) 2013-09-18 11:39:55 -07:00
.hgignore go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
AUTHORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
CONTRIBUTORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
LICENSE LICENSE: add 2012-03-17 15:20:58 +11:00
PATENTS go.empty: add PATENTS file to the subrepo. 2012-04-16 11:24:04 +10:00
README go.tools: provide the right README 2013-05-17 12:55:10 -07:00
codereview.cfg go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00

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.