Find a file
Tim Chevalier 7c4f8cb459 Further work on typestate_check
Lots of work on typestate_check, seems to get a lot of the way
through checking the standard library.

* Added for, for_each, assign_op, bind, cast, put, check, break,
and cont. (I'm not sure break and cont are actually handled correctly.)

* Fixed side-effect bug in seq_preconds so that unioning the
preconditions of a sequence of statements or expressions
is handled correctly.

* Pass poststate correctly through a stmt_decl.

* Handle expr_ret and expr_fail properly (after execution of a ret
or fail, everything is true -- this is needed to handle ifs and alts
where one branch is a ret or fail)

* Fixed bug in set_prestate_ann where a thing that needed to be
mutated wasn't getting passed as an alias

* Fixed bug in how expr_alt was treated (zero is not the identity
for intersect, who knew, right?)

* Update logging to reflect log_err vs. log

* Fixed find_locals so as to return all local decls and exclude
function arguments.

* Make union_postconds work on an empty vector (needed to handle
empty blocks correctly)

* Added _vec.cat_options, which takes a list of option[T] to a list
of T, ignoring any Nones

* Added two test cases.
2011-04-28 13:26:19 -07:00
doc Remove half-baked 'opacity' layer qualifier. 2011-04-19 14:00:04 -07:00
src Further work on typestate_check 2011-04-28 13:26:19 -07:00
.gitignore Continued sketching out code for checking states against preconditions. 2011-04-06 17:58:18 -07:00
AUTHORS.txt Add Lindsey to AUTHORS. 2011-03-22 14:25:07 -07:00
configure Add support for --disable-optimize 2011-04-08 15:49:14 -07:00
LICENSE.txt Populate tree. 2010-06-23 21:03:09 -07:00
Makefile.in Change rustc to use GetOpts rather than ad-hoc command-line parsing 2011-04-26 20:32:14 +02:00
README Update README to point to github, test email notification. 2010-06-23 21:11:10 -07:00

This is a compiler and suite of associated libraries and documentation for the
Rust programming language.

See LICENSE.txt for terms of copyright and redistribution.

See http://github.com/graydon/rust for current development page.