mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
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
|
debug = true // leave on during development
|
||||||
trace = false // turn on for detailed type resolution traces
|
trace = false // turn on for detailed type resolution traces
|
||||||
// TODO(gri) remove this flag and clean up code under the assumption that resolve == true.
|
// 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.
|
// exprInfo stores type and constant value for an untyped expression.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user