• Robert Griesemer's avatar
    go/ast: implemented NewPackage · 5be77a20
    Robert Griesemer authored
    NewPackage creates an ast.Package node from
    a set of package files and resolves unresolved
    identifiers.
    
    Also:
    - Changed semantics of Scope.Insert: If an
      object is inserted w/o errors, the result
      is nil (before it was obj).
    - Fixed an identifier resolution bug in the
      parser: map keys must not be resolved.
    
    gotype runs through several go/* packages
    and successfully resolves all (non-field/method)
    identifiers.
    
    R=rog, rsc
    CC=golang-dev
    https://golang.org/cl/4298044
    5be77a20
Name
Last commit
Last update
..
Makefile Loading commit data...
doc.go Loading commit data...
gotype.go Loading commit data...
gotype_test.go Loading commit data...