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:
parent
3df6f127f0
commit
5c2bbcb0fd
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue