summaryrefslogtreecommitdiff
path: root/src/Substitute.ml
diff options
context:
space:
mode:
authorSon Ho2022-05-01 16:00:32 +0200
committerSon Ho2022-05-01 16:00:32 +0200
commit5c2ddca25137de0062fc37239f261a6a8187d885 (patch)
tree4ad0bf0e12f814eebc13976d52274914239c06eb /src/Substitute.ml
parent2837ecd9ee1687679bf9afac03fd488b5afef5e3 (diff)
Perform some renamings
Diffstat (limited to '')
-rw-r--r--src/Substitute.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Substitute.ml b/src/Substitute.ml
index 81f6985b..7cb0e8c2 100644
--- a/src/Substitute.ml
+++ b/src/Substitute.ml
@@ -262,15 +262,15 @@ let assertion_substitute (tsubst : T.TypeVarId.id -> T.ety) (a : A.assertion) :
let call_substitute (tsubst : T.TypeVarId.id -> T.ety) (call : A.call) : A.call
=
let rsubst x = x in
- let type_params = List.map (ty_substitute rsubst tsubst) call.A.type_params in
+ let type_args = List.map (ty_substitute rsubst tsubst) call.A.type_args in
let args = List.map (operand_substitute tsubst) call.A.args in
let dest = place_substitute tsubst call.A.dest in
(* Putting all the paramters on purpose: we want to get a compiler error if
something moves - we may add a field on which we need to apply a substitution *)
{
func = call.A.func;
- region_params = call.A.region_params;
- A.type_params;
+ region_args = call.A.region_args;
+ A.type_args;
args;
dest;
}