about summary refs log tree commit diff
path: root/src/rustllvm/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2011-06-17 19:07:23 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2011-06-17 19:09:18 -0700
commit7fc89f573dbc43ffaf09e5931661209d20208a09 (patch)
treeb45c61487b9dfded2964c902ba4be2a41a98083b /src/rustllvm/MachOObjectFile.cpp
parenta4eb6630f333e227da86dca4a59be218c05b719d (diff)
downloadrust-7fc89f573dbc43ffaf09e5931661209d20208a09.tar.gz
rust-7fc89f573dbc43ffaf09e5931661209d20208a09.zip
Restructure the "checking" pass in typestate
I noticed that typestate was being lazier than it should be,
because it was only checking typestate for statements and
top-level expression (that is, the expression in a stmt_expr, but
not any subexpressions). So I rewrote the checks in tstate/ck.rs
to use walk, which exposed a few bugs in typestate that I fixed.

Also added some more test cases for if-check.
Diffstat (limited to 'src/rustllvm/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions