Fix FreeVars.free_vars init env argument
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7526 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
fef654ed9d
commit
881e477ca6
|
@ -122,7 +122,7 @@ module Make (Ast : Sig.Camlp4Ast.S) = struct
|
|||
|
||||
end;
|
||||
|
||||
value free_vars init_env e =
|
||||
let fold = new fold_free_vars S.add init_env in (fold#expr e)#free;
|
||||
value free_vars env_init e =
|
||||
let fold = new fold_free_vars S.add ~env_init S.empty in (fold#expr e)#free;
|
||||
end;
|
||||
|
||||
|
|
Loading…
Reference in New Issue