aboutsummaryrefslogtreecommitdiff
path: root/src/comp/middle/walk.rs
Commit message (Collapse)AuthorAgeFilesLines
* More work toward anonymous objects.Lindsey Kuper2011-05-131-1/+1
|
* Bug fixes.Lindsey Kuper2011-05-131-0/+2
| | | | | Fixed infinite loop on anonymous objects in parser; added expr_anon_obj to walk.rs; fixed syntax of test case.
* Ensure visit_ty is called on type parameters during walkMarijn Haverbeke2011-05-131-2/+25
|
* Add visit_arm and visit_method to walk.rsMarijn Haverbeke2011-05-131-3/+16
| | | | | The resolver needs to update its state for individual arms and methods.
* Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke2011-05-121-157/+157
| | | | This should be a snapshot transition.
* Keep resolve data in external hash table, rather than embedded defsMarijn Haverbeke2011-05-121-1/+1
| | | | | | | | | | | | | 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.)
* Alias-ify walk, typeck, metadata. Cuts another 80kb off rustc.Graydon Hoare2011-05-091-30/+30
|
* Rename std modules to be camelcasedMarijn Haverbeke2011-05-061-5/+5
| | | | (Have fun mergining your stuff with this.)
* Un-revert "Use different syntax for checks that matter to typestate", fixing ↵Patrick Walton2011-05-021-1/+4
| | | | | | the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118.
* Revert "Use different syntax for checks that matter to typestate"Graydon Hoare2011-05-021-4/+1
| | | | This reverts commit aa25f22f197682de3b18fc4c8ba068d1feda220f. It broke stage2, not sure why yet.
* Use different syntax for checks that matter to typestateTim Chevalier2011-05-021-1/+4
| | | | | | | | | | This giant commit changes the syntax of Rust to use "assert" for "check" expressions that didn't mean anything to the typestate system, and continue using "check" for checks that are used as part of typestate checking. Most of the changes are just replacing "check" with "assert" in test cases and rustc.
* Fix walk bug that coupled with marijns work to regress stage1.Graydon Hoare2011-04-201-4/+3
|
* Integrate walk.rsMarijn Haverbeke2011-04-201-1/+1
|
* Add log_err to rustbootMarijn Haverbeke2011-04-191-1/+1
|
* Boilerplate city, for anyone who wants it.Graydon Hoare2011-04-181-0/+471