summaryrefslogtreecommitdiffstats
path: root/typing/typedecl.ml
diff options
context:
space:
mode:
Diffstat (limited to 'typing/typedecl.ml')
-rw-r--r--typing/typedecl.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/typing/typedecl.ml b/typing/typedecl.ml
index 9a77ce538..aa0e955af 100644
--- a/typing/typedecl.ml
+++ b/typing/typedecl.ml
@@ -523,7 +523,7 @@ let check_well_founded env loc path to_check ty =
(* Will be detected by check_recursion *)
Btype.backtrack snap
in
- check ty TypeSet.empty ty
+ Ctype.wrap_trace_gadt_instances env (check ty TypeSet.empty) ty
let check_well_founded_manifest env loc path decl =
if decl.type_manifest = None then () else