summaryrefslogtreecommitdiff
path: root/lambda/translmod.mli
diff options
context:
space:
mode:
authorThomas Refis <thomas.refis@gmail.com>2019-09-02 11:43:26 +0100
committerThomas Refis <thomas.refis@gmail.com>2019-09-11 13:44:31 -0400
commit6f492fdbd9c352c0502c118a80d451b8867b1dae (patch)
tree7957c84f5a7425a87a8aaa99f261f18750daec3f /lambda/translmod.mli
parentf814450b605852429613e4ae7f68bac0382e3f1d (diff)
downloadocaml-pr8908.tar.gz
PR#8908: used as a base for other PRs.pr8908
Diffstat (limited to 'lambda/translmod.mli')
-rw-r--r--lambda/translmod.mli4
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