diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2011-05-27 17:01:08 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2011-05-27 17:42:09 -0700 |
| commit | b6e0c5829f5bb87b9a3f0f74b1d98f6ea4cc8cef (patch) | |
| tree | 73a1da2f5f47baa70997b007cf7f3a00de3cc170 /src/rt/rust_log.cpp | |
| parent | 0c5a55f2755138a6ddd2fbdfc7b11a4117409c5e (diff) | |
| download | rust-b6e0c5829f5bb87b9a3f0f74b1d98f6ea4cc8cef.tar.gz rust-b6e0c5829f5bb87b9a3f0f74b1d98f6ea4cc8cef.zip | |
Check the declaration type in a for loop against the sequence type
Changed the typechecker to correctly typecheck the declared variable type in a for or for-each loop against the vector element type (for a for loop) or the iterator type (for a for-each loop). Added a test case.
Diffstat (limited to 'src/rt/rust_log.cpp')
0 files changed, 0 insertions, 0 deletions
