about summary refs log tree commit diff
path: root/src/rt/rust_message.cpp
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2011-07-29 15:59:38 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2011-07-29 18:00:10 -0700
commit126cd44c38404f51cc3c42e9dfde771c527bdbd6 (patch)
tree34391b105b06d56f46e1fb60ed768ff861a7af9b /src/rt/rust_message.cpp
parent59c441a66a86d04087f15aaa9d624fb3c24fcb54 (diff)
downloadrust-126cd44c38404f51cc3c42e9dfde771c527bdbd6.tar.gz
rust-126cd44c38404f51cc3c42e9dfde771c527bdbd6.zip
Refactor typestate code involving stmt_decls
To handle multiple-LHS declarations with initializers properly,
I changed seq_states to take a list of expressions paired with optional
names, not just a list of expressions. Then, the same logic that handles
ordered lists of subexpressions everywhere else can handle multi-
declarations.
Diffstat (limited to 'src/rt/rust_message.cpp')
0 files changed, 0 insertions, 0 deletions