summaryrefslogtreecommitdiff
path: root/compiler/Interpreter.ml
diff options
context:
space:
mode:
authorSon Ho2023-11-12 20:04:11 +0100
committerSon Ho2023-11-12 20:04:11 +0100
commit6ef68fa9ffd4caec09677ee2800a778080d6da34 (patch)
tree3c31a9b2358db02cd7aff5714e0ae70703bd2da1 /compiler/Interpreter.ml
parent0a5859fbb7bcd99bfa221eaf1af029ff660bf963 (diff)
Prefix variants related to types with "T"
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 b1178aa7..395c0c80 100644
--- a/compiler/Interpreter.ml
+++ b/compiler/Interpreter.ml
@@ -71,7 +71,7 @@ let symbolic_instantiate_fun_sig (ctx : C.eval_ctx) (sg : A.fun_sig)
let generics =
let { T.regions; types; const_generics; trait_clauses } = sg.generics in
let regions = List.map (fun _ -> T.RErased) regions in
- let types = List.map (fun (v : T.type_var) -> T.TypeVar v.T.index) types in
+ let types = List.map (fun (v : T.type_var) -> T.TVar v.T.index) types in
let const_generics =
List.map
(fun (v : T.const_generic_var) -> T.CGVar v.T.index)