diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2011-06-17 19:07:23 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2011-06-17 19:09:18 -0700 |
| commit | 7fc89f573dbc43ffaf09e5931661209d20208a09 (patch) | |
| tree | b45c61487b9dfded2964c902ba4be2a41a98083b /src/rustllvm/MachOObjectFile.cpp | |
| parent | a4eb6630f333e227da86dca4a59be218c05b719d (diff) | |
| download | rust-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
