aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-08-25 11:08:37 -0700
committerGraydon Hoare <[email protected]>2010-08-25 12:08:05 -0700
commitaf6e1d2c2ba777622c21455f897bbc7a1c88372d (patch)
treef2416a17f8929ef84aa0884032bd38b0a5a25fec /src/test
parentIntroduce "type patterns" to the typechecker in preparation for function type... (diff)
downloadrust-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.rs1
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";
}