• 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
bin Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
pkg 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...
README Loading commit data...
favicon.ico Loading commit data...