diff options
| author | Marijn Haverbeke <[email protected]> | 2011-05-12 13:25:18 +0200 |
|---|---|---|
| committer | Marijn Haverbeke <[email protected]> | 2011-05-12 15:40:21 +0200 |
| commit | 358a1aeec99ba6bf3c3f6bc5886e4dddf647a75a (patch) | |
| tree | 314e23b11b7fed0c6f667dfae66192ffd59566a4 /src/lib | |
| parent | Ensure ann tags are actually kept around during typechecking (diff) | |
| download | rust-358a1aeec99ba6bf3c3f6bc5886e4dddf647a75a.tar.xz rust-358a1aeec99ba6bf3c3f6bc5886e4dddf647a75a.zip | |
Keep resolve data in external hash table, rather than embedded defs
One step closer to removing fold and having a single, immutable AST.
Resolve still uses fold, because it has to detect and transform
expr_field expressions. If we go through on our plan of moving to a
different syntax for module dereferencing, the parser can spit out
expr_field expressions, and resolve can move to walk.
(I am truly sorry for the things I did in typestate_check.rs. I expect
we'll want to change that to walk as well in the near future, at which
point it should probably pass around a context record, which could
hold the def_map.)
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions