about summary refs log tree commit diff
path: root/src/lib/option.rs
AgeCommit message (Collapse)AuthorLines
2011-04-06Continued sketching out code for checking states against preconditions.Tim Chevalier-0/+7
It's still sketchy. I added a typestate annotation field to statements tagged stmt_decl or stmt_expr, because a stmt_decl statement has a typestate that's different from that of its child node. This necessitated trivial changes to a bunch of other files all over to the compiler. I also added a few small standard library functions, some of which I didn't actually end up using but which I thought might be useful anyway.
2011-03-17Add an option.is_none() methodPatrick Walton-0/+7
2010-11-18rustboot: Don't use walk to traverse statements in type.ml; fixes redundant ↵Patrick Walton-0/+2
checking, improves diagnostics. Also report untyped slots.
2010-11-05Move the option type to its own modulePatrick Walton-0/+40
2010-11-05Revert "Move the option type to its own module"Patrick Walton-40/+0
2010-11-05Move the option type to its own modulePatrick Walton-0/+40