Some failwith
This commit is contained in:
parent
a6afabb538
commit
86e8cead3a
1 changed files with 1 additions and 0 deletions
|
@ -313,6 +313,7 @@ let translate (p : S.t) env =
|
||||||
add_to_cloture env fname (T.Variable (T.Id "environment")) free_vars
|
add_to_cloture env fname (T.Variable (T.Id "environment")) free_vars
|
||||||
in
|
in
|
||||||
T.Define (T.Id "environment", new_clot, blocks), env
|
T.Define (T.Id "environment", new_clot, blocks), env
|
||||||
|
| Some _ -> failwith "Students! This is your job (creation_cloture)!"
|
||||||
(* Fonction qui initialise une cloture de taille espace
|
(* Fonction qui initialise une cloture de taille espace
|
||||||
+ la taille de la liste de variable (le nombre de variable libre) *)
|
+ la taille de la liste de variable (le nombre de variable libre) *)
|
||||||
and new_cloture espace list_variable =
|
and new_cloture espace list_variable =
|
||||||
|
|
Reference in a new issue