typos
This commit is contained in:
parent
52eabc2697
commit
d2db0dfc4f
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Reference in a new issue