fix for trunk
This commit is contained in:
parent
7175551183
commit
6124f722f0
|
@ -552,7 +552,7 @@ let lookup_module = Env.lookup_module
|
|||
let find_module = Env.find_module
|
||||
#else
|
||||
let lookup_module id env =
|
||||
let path = Env.lookup_module id env in
|
||||
let path = Env.lookup_module id env ~load:true in
|
||||
(path, (Env.find_module path env).md_type)
|
||||
let find_module path env = (Env.find_module path env).md_type
|
||||
#endif
|
||||
|
|
|
@ -1037,7 +1037,7 @@ let typeof sid =
|
|||
#if ocaml_version < (4, 02, 0)
|
||||
let (path, mod_typ) = Env.lookup_module id env in
|
||||
#else
|
||||
let path = Env.lookup_module id env in
|
||||
let path = Env.lookup_module id env ~load:true in
|
||||
let mod_typ = (Env.find_module path env).Types.md_type in
|
||||
#endif
|
||||
let id = Ident.create (Path.name path) in
|
||||
|
|
Loading…
Reference in New Issue