tools/go
Robert Griesemer 91159eb214 go.tools/go/types: don't type-check methods twice
- Centralize "visited" check in check.objDecl.
- Assert that object-specific declX functions
are only called with objects that have no
type associated with them, yet.
- Added test case.

Thanks to Richard Musiol (neelance@gmail.com) for
finding the bug and providing an easy test case.

For a discussion of the bug see the issue.

Fixes golang/go#7245.

TBR=adonovan
R=adonovan
CC=golang-codereviews
https://golang.org/cl/59210043
2014-01-31 15:12:05 -08:00
..
callgraph go.tools/call: rename package to go/callgraph 2014-01-16 14:04:19 -05:00
exact go.tools/go/types: minor cleanups 2014-01-14 21:04:35 -08:00
gccgoimporter go.tools/go/gccgoimporter: remove dead code 2014-01-16 13:19:39 -08:00
gcimporter go.tools/go/gcimporter: correct package for imported methods 2014-01-07 14:46:10 -08:00
importer go.tools/go/types: cleanup: more consistent exported predicate names 2014-01-28 10:57:56 -08:00
loader go.tools/go/types: combine Info.{Types,Values} maps. 2014-01-28 16:46:24 -05:00
pointer go.tools/go/ssa: use bytes.Buffer instead of io.Writer. 2014-01-28 17:48:10 -05:00
ssa go.tools/go/ssa: skip broken TestStdlib on windows 2014-01-31 17:46:15 +11:00
types go.tools/go/types: don't type-check methods twice 2014-01-31 15:12:05 -08:00
vcs go.tools/vcs: allow compilation with go 1.0 2013-10-04 11:46:57 +10:00