PR#4583: do not compare Lambda terms with =, use Lambda.same instead
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8966 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
7e9f606dee
commit
16b9465048
|
@ -767,7 +767,7 @@ and close_one_function fenv cenv id funct =
|
||||||
|
|
||||||
and close_switch fenv cenv cases num_keys default =
|
and close_switch fenv cenv cases num_keys default =
|
||||||
let index = Array.create num_keys 0
|
let index = Array.create num_keys 0
|
||||||
and store = mk_store Pervasives.(=) in
|
and store = mk_store Lambda.same in
|
||||||
|
|
||||||
(* First default case *)
|
(* First default case *)
|
||||||
begin match default with
|
begin match default with
|
||||||
|
|
Loading…
Reference in New Issue