summaryrefslogtreecommitdiff
path: root/compiler/Substitute.ml
diff options
context:
space:
mode:
authorGuillaume Boisseau2024-06-21 15:41:59 +0200
committerGitHub2024-06-21 15:41:59 +0200
commitc8ad44f287215c3c45e5a0f0540ef507b4916c7d (patch)
tree9dcfe67426cd7ae423c0205cee2298132f2fcdab /compiler/Substitute.ml
parentaa8e74197687ecc6d8f925babc8ba3cd6c739990 (diff)
parentb287f234695d9013cb74c99dcac46a9b5b334f7c (diff)
Merge pull request #253 from Nadrieril/merge-preds-into-params
Diffstat (limited to 'compiler/Substitute.ml')
-rw-r--r--compiler/Substitute.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/Substitute.ml b/compiler/Substitute.ml
index 6ea460db..203bfac3 100644
--- a/compiler/Substitute.ml
+++ b/compiler/Substitute.ml
@@ -119,7 +119,7 @@ let substitute_signature (asubst : RegionGroupId.id -> AbstractionId.id)
let trait_type_constraints =
List.map
(trait_type_constraint_substitute subst)
- sg.preds.trait_type_constraints
+ sg.generics.trait_type_constraints
in
{ inputs; output; regions_hierarchy; trait_type_constraints }