tools/go
Robert Griesemer a7f9d5d4f8 go/types: use file not parse order for init order computation
The type-checker depended on (token.Pos) position information of
the presented files to determine source order. That information
is determined by the parse order of the files rather than the
order in which the files are presented to the type-checker.

Introduced an order number strictly determined by the file
order as presented to the type-checker and the AST structure
of each file; thus providing source order information even in
the absence of (token.Pos) position information.

Added test case (provided by adonovan).

LGTM=adonovan
R=adonovan
CC=golang-codereviews
https://golang.org/cl/151160043
2014-10-01 09:56:28 -07:00
..
buildutil go.tools/go/buildutil: more utilities. 2014-09-23 10:20:48 -04:00
callgraph go.tools/go/pointer: add intrinsic for time.startTimer, which is implemented in C. 2014-07-22 18:30:06 -04:00
exact go.tools/go/types, exact: fix build for 1.2 2014-06-12 12:46:21 -07:00
gccgoimporter go.tools/go: separate interface construction from method set construction 2014-07-09 20:00:49 -07:00
gcimporter go.tools/go: separate interface construction from method set construction 2014-07-09 20:00:49 -07:00
importer go.tools/go/importer: fix importer test for 32bit platforms 2014-09-12 08:17:14 -07:00
loader go/loader: clarify the nocgo check. 2014-09-15 12:03:05 -04:00
pointer go/ssa: fix bug causing (manual) go/pointer stdlib test to crash. 2014-09-11 18:08:33 -04:00
ssa go/ssa/interp: fix fallout from recent runtime refactoring. 2014-09-25 17:14:39 -04:00
types go/types: use file not parse order for init order computation 2014-10-01 09:56:28 -07:00
vcs go.tools: fix various minor issues found by go vet 2014-05-19 08:47:28 -07:00