correct position?

This commit is contained in:
Mylloon 2023-11-12 19:42:09 +01:00
parent b92523f677
commit 4b32388ae7
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -460,9 +460,7 @@ and case_value expr branches environment memory =
in
(* On fait le match avec ce qu'on a comme info *)
match branches' with
| [] ->
(* TODO *)
error [] "error"
| [] -> error [ expr.position ] "erreur"
| _ as env -> List.hd env
and for_value id expr1 expr2 expr3 environment memory =