diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2002-04-26 07:52:27 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2002-04-26 07:52:27 +0000 |
commit | 4cc30822ae27e78b39505bb10cfd2c0cc87d6aa5 (patch) | |
tree | 32d6a1f8773d712d302dde5a065792a6e988a5de | |
parent | b502da3993dd8853ac6759a038990e38065a0fef (diff) |
include A ne doit pas faire reference au global A si le module A ne definit que des types (PR#1125)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4742 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r-- | bytecomp/translmod.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bytecomp/translmod.ml b/bytecomp/translmod.ml index f3f0d2726..c8c0a641a 100644 --- a/bytecomp/translmod.ml +++ b/bytecomp/translmod.ml @@ -179,7 +179,7 @@ and transl_structure fields cc rootpath = function | id :: ids -> Llet(Alias, id, Lprim(Pfield pos, [Lvar mid]), rebind_idents (pos + 1) (id :: newfields) ids) in - Llet(Strict, mid, transl_module Tcoerce_none None modl, + Llet(Alias, mid, transl_module Tcoerce_none None modl, rebind_idents 0 fields ids) (* Update forward declaration in Translcore *) |