• Robert Griesemer's avatar
    exp/types/staging: filling in more blanks · 5d15963a
    Robert Griesemer authored
    - simplified assignment checking by removing duplicate code
    - implemented field lookup (methods, structs, embedded fields)
    - importing methods (not just parsing them)
    - type-checking functions and methods
    - typechecking more statements (inc/dec, select, return)
    - tracing support for easier debugging
    - handling nil more correctly (comparisons)
    - initial support for [...]T{} arrays
    - initial support for method expressions
    - lots of bug fixes
    
    All packages under pkg/go as well as pkg/exp/types typecheck
    now with pkg/exp/gotype applied to them; i.e., a significant
    amount of typechecking works now (several statements are not
    implemented yet, but handling statements is almost trivial in
    comparison with typechecking expressions).
    
    R=rsc
    CC=golang-dev
    https://golang.org/cl/6768063
    5d15963a
Name
Last commit
Last update
api Loading commit data...
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...