]> Cypherpunks repositories - gostls13.git/commit
go/types: various minor fixes
authorRobert Griesemer <gri@golang.org>
Mon, 14 Jan 2013 23:19:32 +0000 (15:19 -0800)
committerRobert Griesemer <gri@golang.org>
Mon, 14 Jan 2013 23:19:32 +0000 (15:19 -0800)
commit5e5c0a9fbb3adf832fe5eb7d47883318a73c8400
tree1e8f4b3e0c17458ee7276f1f69cbad81bac397d8
parentfd1abac71c1792527943696c1c84bbbe7dac2ac3
go/types: various minor fixes

- always set the Pkg field in QualifiedIdents
- call Context.Ident for all identifiers in the AST that denote
  a types.Object (bug fix)
- added test that Context.Ident is called for all such identifiers

R=adonovan
CC=golang-dev
https://golang.org/cl/7101054
src/pkg/go/types/api.go
src/pkg/go/types/check.go
src/pkg/go/types/expr.go
src/pkg/go/types/resolve.go
src/pkg/go/types/resolver_test.go
src/pkg/go/types/types.go
src/pkg/go/types/universe.go