diff options
| author | Graydon Hoare <[email protected]> | 2010-08-25 11:08:37 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-08-25 12:08:05 -0700 |
| commit | af6e1d2c2ba777622c21455f897bbc7a1c88372d (patch) | |
| tree | f2416a17f8929ef84aa0884032bd38b0a5a25fec /src/test | |
| parent | Introduce "type patterns" to the typechecker in preparation for function type... (diff) | |
| download | rust-af6e1d2c2ba777622c21455f897bbc7a1c88372d.tar.xz rust-af6e1d2c2ba777622c21455f897bbc7a1c88372d.zip | |
Fix ghastly typestate bug breaking nested functions.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass/lib-map.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/run-pass/lib-map.rs b/src/test/run-pass/lib-map.rs index f4247ec2..856a8404 100644 --- a/src/test/run-pass/lib-map.rs +++ b/src/test/run-pass/lib-map.rs @@ -22,6 +22,7 @@ fn test_simple() { check (hm.get(11u) == 13u); check (hm.get(12u) == 14u); + check (hm.get(10u) == 12u); log "*** finished test_simple"; } |