Disable use of parametric tail call in map.rs, they don't presently work.

This commit is contained in:
Graydon Hoare 2010-10-18 16:04:47 -07:00
parent f747101b7c
commit 23a00fd092

View File

@ -186,7 +186,9 @@ fn mk_hashmap[K, V](&hashfn[K] hasher, &eqfn[K] eqer) -> hashmap[K, V] {
}
fn find(&K key) -> util.option[V] {
be find_common[K, V](hasher, eqer, bkts, nbkts, key);
// FIXME: should be 'be' but parametric tail-calls don't
// work at the moment.
ret find_common[K, V](hasher, eqer, bkts, nbkts, key);
}
fn remove(&K key) -> util.option[V] {