Fixed bug with loading modules
Do not forget to remember loaded modules
This commit is contained in:
parent
fd347cb4e4
commit
b47dc918ec
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ let _load_module modul =
|
|||
of the compiler.@\nPlease recompile %s.ept first.@."
|
||||
filename name;
|
||||
raise Errors.Error );
|
||||
g_env.loaded_mod <- modul::g_env.loaded_mod;
|
||||
_append_module mo
|
||||
with
|
||||
| Compiler_utils.Cannot_find_file(f) ->
|
||||
|
|
Loading…
Reference in a new issue