summaryrefslogtreecommitdiff
path: root/compiler/Interpreter.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/Interpreter.ml
parentaa8e74197687ecc6d8f925babc8ba3cd6c739990 (diff)
parentb287f234695d9013cb74c99dcac46a9b5b334f7c (diff)
Merge pull request #253 from Nadrieril/merge-preds-into-params
Diffstat (limited to '')
-rw-r--r--compiler/Interpreter.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/Interpreter.ml b/compiler/Interpreter.ml
index b2e55841..7e292906 100644
--- a/compiler/Interpreter.ml
+++ b/compiler/Interpreter.ml
@@ -78,7 +78,7 @@ let symbolic_instantiate_fun_sig (span : Meta.span) (ctx : eval_ctx)
| TraitItemDecl _ | TraitItemProvided _ -> Self
in
let generics =
- let { regions; types; const_generics; trait_clauses } = sg.generics in
+ let { regions; types; const_generics; trait_clauses; _ } = sg.generics in
let regions = List.map (fun _ -> RErased) regions in
let types = List.map (fun (v : type_var) -> TVar v.index) types in
let const_generics =