mirror of
https://github.com/golang/go
synced 2024-10-01 01:38:33 -06:00
The Go programming language
d38c09ed22
Every one of the oracle's query modes needs to have typed ASTs available, at least transiently, so that the -pos flag can be interpreted. (The only mode that doesn't need the -pos flag is callgraph, but that needs PTA.) So we hard-code it to true. This change fixes a bug in the 'implements' query that causes -pos parsing to fail. (This wasn't exposed by the tests because they are degenerate in that the query always occurs in the main package, which is specified ad-hoc, i.e. as a source file not an import path. That's unfortunate, but this change renders the distinction uninteresting in future.) R=crawshaw, dominik.honnef CC=golang-dev https://golang.org/cl/13334050 |
||
---|---|---|
cmd | ||
dashboard | ||
go | ||
godoc | ||
gotype | ||
importer | ||
oracle | ||
pointer | ||
ssa | ||
.hgignore | ||
AUTHORS | ||
codereview.cfg | ||
CONTRIBUTORS | ||
LICENSE | ||
PATENTS | ||
README |
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.