error message
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6976 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
8e25cec9c4
commit
c9fb98c676
|
@ -434,7 +434,7 @@ let globalize_used_variables env bindings fixed =
|
|||
raise (Error(loc, Type_mismatch trace))
|
||||
| Not_found ->
|
||||
if fixed && (repr ty).desc = Tvar then
|
||||
raise(Error(loc, Unbound_type_variable name));
|
||||
raise(Error(loc, Unbound_type_variable ("'"^name)));
|
||||
let v =
|
||||
match bindings with
|
||||
Some r ->
|
||||
|
|
Loading…
Reference in New Issue