From d2db0dfc4fe449ee48f9fc0fe6b6488e1ee1621c Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 5 Dec 2023 04:32:24 +0100 Subject: [PATCH] typos --- flap/src/hopix/hopixTypechecker.ml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flap/src/hopix/hopixTypechecker.ml b/flap/src/hopix/hopixTypechecker.ml index 0046e84..b2c399c 100644 --- a/flap/src/hopix/hopixTypechecker.ml +++ b/flap/src/hopix/hopixTypechecker.ml @@ -106,7 +106,7 @@ and synth_variable in match tlist with | None -> HopixTypes.instantiate_type_scheme ty [] - | Some _ -> failwith "Students! This is your job! (synth_variable | tlist | None)" + | Some _ -> failwith "Students! This is your job! (synth_variable | tlist | Some)" and synth_tagged : HopixTypes.typing_environment -> constructor Position.located @@ -126,7 +126,7 @@ and synth_apply let given = synth_expression tenv x in check_equal_types x.position ~expected ~given; droit - | _ -> failwith "" + | _ -> failwith "Error: apply" and synth_record : HopixTypes.typing_environment @@ -167,7 +167,7 @@ and synth_sequence = fun tenv elist -> match elist with - | [] -> failwith "erreur sequence" + | [] -> failwith "Error: sequence" | [ x ] -> synth_expression tenv x | x :: l -> let given = synth_expression tenv x in