summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorGuillaume Boisseau2024-06-25 14:16:05 +0200
committerGitHub2024-06-25 14:16:05 +0200
commit3f07bf067fe725c2bc60b12139ff9cba13375c6a (patch)
treed21dff54ca74be195f7e16ac56258b655b7663b8 /compiler
parent59ee1eb89d7c1018858250832ff1a92af0cbeab6 (diff)
parent09c02a7b56575e826c66a6c8873b290a8afb5827 (diff)
Merge pull request #263 from Nadrieril/subst-preds
Diffstat (limited to '')
-rw-r--r--compiler/RegionsHierarchy.ml4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/RegionsHierarchy.ml b/compiler/RegionsHierarchy.ml
index 6c5253b8..61fa37d9 100644
--- a/compiler/RegionsHierarchy.ml
+++ b/compiler/RegionsHierarchy.ml
@@ -148,9 +148,7 @@ let compute_regions_hierarchy_for_sig (span : Meta.span option)
let subst =
Subst.make_subst_from_generics decl.generics generics tr_self
in
- let predicates =
- Subst.generic_params_substitute subst decl.generics
- in
+ let predicates = Subst.predicates_substitute subst decl.generics in
(* Note that because we also explore the generics below, we may
explore several times the same type - this is ok *)
List.iter