1
0
mirror of https://github.com/golang/go synced 2024-11-05 14:36:11 -07:00

go.tools/cmd/gotype: use go/types identifier resolution

R=adonovan
CC=golang-dev
https://golang.org/cl/14146043
This commit is contained in:
Robert Griesemer 2013-09-30 12:59:02 -07:00
parent 3daa579643
commit 49904d9a2c
2 changed files with 1 additions and 3 deletions

View File

@ -59,5 +59,3 @@ To verify the output of a pipe:
*/
package main
// BUG(gri): At the moment, only single-file scope analysis is performed.

View File

@ -74,7 +74,7 @@ func parse(fset *token.FileSet, filename string, src []byte) *ast.File {
}
// parse entire file
mode := parser.DeclarationErrors
var mode parser.Mode
if *allErrors {
mode |= parser.AllErrors
}