mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
By setting resolve = true in check.go, the type checker will do all identifier resolution during type checking time and ignore (and not depend on) parser objects. This permits the type checker to run easily on ASTs that are not generated with invariants guaranteed by the parser. There is a lot of new code; much of it slightly modified copies of old code. There is also a lot of duplication. After removing the dead code resulting from resolve = true permanently (and removing the flag as well), it will be easier to perform a thorough cleanup. As is, there are too many intertwined code paths. For now resolve = false. To be enabled in a successor CL. R=adonovan CC=golang-dev https://golang.org/cl/9606045
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.
Description
Languages
Go
94.1%
Assembly
5.5%
C
0.2%
Shell
0.1%