Fix error message.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13664 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
e86e81323a
commit
7fa05e12d4
|
@ -69,6 +69,8 @@ let rec narrow_unbound_lid_error : 'a. _ -> _ -> _ -> _ -> 'a =
|
|||
with Not_found ->
|
||||
narrow_unbound_lid_error env loc mlid
|
||||
(fun lid -> Unbound_module lid)
|
||||
| Env.Recmodule ->
|
||||
raise (Error (loc, env, Illegal_reference_to_recursive_module))
|
||||
in
|
||||
begin match lid with
|
||||
| Longident.Lident _ -> ()
|
||||
|
|
Loading…
Reference in New Issue