Commit 616056f7 authored by Andrei Paskevich's avatar Andrei Paskevich

fix hashtbl_impl session

parent 2e14ec07
......@@ -147,19 +147,10 @@ module HashtblImpl
h.size <- h.size + 1;
h.view <- Map.set h.view k (Some v)
end
module Bad
use import HashtblImpl
use import list.List
use import array.Array
(*
let bad (h: t 'a) : unit =
let alias (h: t int) (k: key) : unit =
let old_data = h.data in
resize h;
add h k 42;
old_data[0] <- Nil
*)
end
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment