• 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
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...