diff options
author | Alain Frisch <alain@frisch.fr> | 2014-01-28 11:07:02 +0000 |
---|---|---|
committer | Alain Frisch <alain@frisch.fr> | 2014-01-28 11:07:02 +0000 |
commit | 10abdce7b183f5961284ad74ffc27ba5dcaef1d1 (patch) | |
tree | afd2bed97a598b26169e8ec891681eb7e80848b3 /typing/includemod.ml | |
parent | 9de0cd21fdacf060fe00d35c1951c7b353545c56 (diff) | |
download | ocaml-10abdce7b183f5961284ad74ffc27ba5dcaef1d1.tar.gz |
Record inclusion checks between value_descriptions in .cmt files. This makes it easy in particular to track in external tools value declarations between implementations and interfaces.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14422 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'typing/includemod.ml')
-rw-r--r-- | typing/includemod.ml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/typing/includemod.ml b/typing/includemod.ml index 77e5c6c3f3..262fd17b6d 100644 --- a/typing/includemod.ml +++ b/typing/includemod.ml @@ -50,6 +50,7 @@ exception Error of error list (* Inclusion between value descriptions *) let value_descriptions env cxt subst id vd1 vd2 = + Cmt_format.record_value_dependency vd1 vd2; Env.mark_value_used (Ident.name id) vd1; let vd2 = Subst.value_description subst vd2 in try |