go.tools/go/types: enable resolution of objects in type checker

R=adonovan
CC=golang-dev
https://golang.org/cl/9838043
This commit is contained in:
Robert Griesemer 2013-05-28 10:25:11 -07:00
parent 3df6f127f0
commit 5c2bbcb0fd

View File

@ -19,7 +19,7 @@ const (
debug = true // leave on during development
trace = false // turn on for detailed type resolution traces
// TODO(gri) remove this flag and clean up code under the assumption that resolve == true.
resolve = false // if set, resolve all identifiers in the type checker (don't use ast.Objects anymore)
resolve = true // if set, resolve all identifiers in the type checker (don't use ast.Objects anymore)
)
// exprInfo stores type and constant value for an untyped expression.