tools/go
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
..
callgraph go.tools: various comments + doc tweaks. 2014-03-11 18:24:39 -04:00
exact go.tools/go/types: report correctly rounded constant values 2014-03-05 10:23:33 -08:00
gccgoimporter go.tools/go/gccgoimporter: backported some changes from godex implementation 2014-03-28 14:24:35 -07:00
gcimporter go.tools/go/types: internal cleanups 2014-02-20 14:52:21 -08:00
importer go.tools/go/importer: record low-level encoding format 2014-03-31 09:49:52 -07:00
loader go.tools/go/loader: add Config.ParserMode configuration parameter. 2014-03-27 12:50:26 -04:00
pointer go.tools/go/loader: add Config.ParserMode configuration parameter. 2014-03-27 12:50:26 -04:00
ssa go.tools/go/loader: add Config.ParserMode configuration parameter. 2014-03-27 12:50:26 -04:00
types go.tools/go/types: type-check interfaces in reverse dependency order 2014-04-02 11:42:29 -07:00
vcs go.tools/vcs: allow compilation with go 1.0 2013-10-04 11:46:57 +10:00