1
0
mirror of https://github.com/golang/go synced 2024-11-18 21:05:02 -07:00
The Go programming language
Go to file
Robert Griesemer 0b23073b5c go.tools/go/types: type-check interfaces in reverse dependency order
Side-effect: Because interfaces are now type-checked in reverse order,
cycle errors in interface declarations appear at the "end" rather than
at the "beginning" of the cycle in the source code. This is harmless.
Eventually we may want to do dependency order determination and thus
cycle detection for all types before fully type-checking them, which
might simplify some code and also produce consistently positioned cycle
errors again.

Fixes golang/go#7158.

LGTM=adonovan
R=adonovan
CC=golang-codereviews
https://golang.org/cl/83640043
2014-04-02 11:42:29 -07:00
astutil go.tools: rename packages. 2014-01-16 09:33:58 -05:00
blog go.tools/blog: strip prefix when serving static content 2013-11-08 13:28:32 +11:00
cmd go.tools/refactor/eg: an example-based refactoring tool. 2014-04-02 12:24:55 -04:00
cover go.tools/cover: split parsing code out from cmd/cover 2013-12-03 20:55:21 -08:00
dashboard go.tools/dashboard: option to show only "first-class" ports 2014-03-31 08:54:14 +11:00
go go.tools/go/types: type-check interfaces in reverse dependency order 2014-04-02 11:42:29 -07:00
godoc go.tools/godoc: fix two regressions caused by -analysis CL. 2014-03-27 15:30:14 -04:00
imports imports: extend findImports to return a boolean, rename, that tells 2014-03-25 09:37:10 -04:00
oracle go.tools/oracle: fix bug in reduceScope on ad-hoc main packages. 2014-03-19 14:00:35 -04:00
playground go.tools/playground: provide script-safe option for playground 2014-03-17 16:57:36 +11:00
present go.tools/present: Remove formatting comments (HL, OMIT) from raw code. 2014-02-25 17:53:00 -08:00
refactor go.tools/refactor/eg: remove debugging code accidentally committed. 2014-04-02 12:39:10 -04:00
.hgignore .hgignore: add comment setting policy 2013-12-20 16:28:57 -08:00
AUTHORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
codereview.cfg codereview: switch defaultcc to golang-codereviews 2013-12-20 10:54:33 -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/README: minor correction. 2013-10-29 13:20:58 -04:00

This subrepository holds the source for various packages and tools that support
the Go programming language.

Some of the tools, godoc and vet for example, are included in binary Go distributions.
Others, including the Go oracle and the test coverage tool, can be fetched with "go get".

Packages include a type-checker for Go and an implementation of the
Static Single Assignment form (SSA) representation for Go programs.

To submit changes to this repository, see http://golang.org/doc/contribute.html.