correct error msg
This commit is contained in:
parent
6338b05d39
commit
3c30abe0ac
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ and synth_variable
|
||||||
let ty =
|
let ty =
|
||||||
try HopixTypes.lookup_type_scheme_of_identifier id.position id.value tenv with
|
try HopixTypes.lookup_type_scheme_of_identifier id.position id.value tenv with
|
||||||
| HopixTypes.Unbound (pos, Identifier (Id i)) ->
|
| HopixTypes.Unbound (pos, Identifier (Id i)) ->
|
||||||
HopixTypes.type_error pos (Printf.sprintf "%s unbound" i)
|
HopixTypes.type_error pos (Printf.sprintf "Unbound identifier `%s'." i)
|
||||||
in
|
in
|
||||||
match tlist with
|
match tlist with
|
||||||
| None -> HopixTypes.instantiate_type_scheme ty []
|
| None -> HopixTypes.instantiate_type_scheme ty []
|
||||||
|
|
Reference in a new issue