summaryrefslogtreecommitdiff
path: root/src/Print.ml
diff options
context:
space:
mode:
authorSon Ho2022-01-12 18:10:16 +0100
committerSon Ho2022-01-12 18:10:16 +0100
commit8cc257310c643e800b6bfcbc499fb253c817d3b7 (patch)
tree31588fa0be9f0fcbf557e0ff19ca21dd1af30a73 /src/Print.ml
parenta84adca5d499a02c50b5510dd49dbbdf9c387018 (diff)
Introduce dummy variables and update assign_to_place
Diffstat (limited to '')
-rw-r--r--src/Print.ml4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Print.ml b/src/Print.ml
index 5ae722b9..4dbe30f7 100644
--- a/src/Print.ml
+++ b/src/Print.ml
@@ -455,7 +455,9 @@ module Contexts = struct
(indent_incr : string) (ev : C.env_elem) : string =
match ev with
| Var (var, tv) ->
- indent ^ binder_to_string var ^ " -> "
+ indent
+ ^ option_to_string binder_to_string var
+ ^ " -> "
^ PV.typed_value_to_string fmt tv
^ " ;"
| Abs abs -> PV.abs_to_string fmt indent indent_incr abs