diff options
author | Thomas Refis <thomas.refis@gmail.com> | 2019-09-02 11:43:26 +0100 |
---|---|---|
committer | Thomas Refis <thomas.refis@gmail.com> | 2019-09-11 13:44:31 -0400 |
commit | 6f492fdbd9c352c0502c118a80d451b8867b1dae (patch) | |
tree | 7957c84f5a7425a87a8aaa99f261f18750daec3f /lambda/translmod.mli | |
parent | f814450b605852429613e4ae7f68bac0382e3f1d (diff) | |
download | ocaml-pr8908.tar.gz |
PR#8908: used as a base for other PRs.pr8908
Diffstat (limited to 'lambda/translmod.mli')
-rw-r--r-- | lambda/translmod.mli | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lambda/translmod.mli b/lambda/translmod.mli index d0898c769a..af042d6a53 100644 --- a/lambda/translmod.mli +++ b/lambda/translmod.mli @@ -48,7 +48,9 @@ type unsafe_component = | Unsafe_non_function | Unsafe_typext -type unsafe_info = { reason:unsafe_component; loc:Location.t; subid:Ident.t } +type unsafe_info = + | Unsafe of { reason:unsafe_component; loc:Location.t; subid:Ident.t } + | Unnamed type error = Circular_dependency of (Ident.t * unsafe_info) list |