• Robert Griesemer's avatar
    go/typechecker: 2nd step towards augmenting AST with full type information. · c606b964
    Robert Griesemer authored
    - refine/define Scope, Object, and Type structures
      (note: scope.go has the addition of types, the rest is only re-organized
      for better readability)
    - implemented top-level of type checker:
      resolve global type declarations (deal with double decls, cycles, etc.)
    - temporary hooks for checking of const/var declarations, function/method bodies
    - test harness for fine-grained testing (exact error locations)
      with initial set of tests
    
    This is a subset of the code for easier review.
    
    R=rsc
    CC=golang-dev
    https://golang.org/cl/1967049
    c606b964
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libcgo Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.ccmd Loading commit data...
Make.clib Loading commit data...
Make.cmd Loading commit data...
Make.common Loading commit data...
Make.inc Loading commit data...
Make.pkg Loading commit data...
all-arm.bash Loading commit data...
all-nacl.bash Loading commit data...
all.bash Loading commit data...
clean.bash Loading commit data...
env.bash Loading commit data...
make.bash Loading commit data...
quietgcc.bash Loading commit data...
run.bash Loading commit data...
sudo.bash Loading commit data...
version.bash Loading commit data...