summaryrefslogtreecommitdiff
path: root/compiler/PrintPure.ml
diff options
context:
space:
mode:
authorSon Ho2023-12-14 17:11:54 +0100
committerSon Ho2023-12-14 17:11:54 +0100
commitf074320eee2203857e669cfb72f7f8f94ab52151 (patch)
treed5f2f8d4a45f206e0a94e980ea4c6ad074f2bc19 /compiler/PrintPure.ml
parentf69ac6a4a244c99a41a90ed57f74ea83b3835882 (diff)
parentc3e0b90e422cbd902ee6d2b47073940c0017b7fb (diff)
Merge remote-tracking branch 'origin/main' into son/merge_back
Diffstat (limited to '')
-rw-r--r--compiler/PrintPure.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/PrintPure.ml b/compiler/PrintPure.ml
index d33a2f18..2fe5843e 100644
--- a/compiler/PrintPure.ml
+++ b/compiler/PrintPure.ml
@@ -519,7 +519,7 @@ let unop_to_string (unop : unop) : string =
| Not -> "¬"
| Neg _ -> "-"
| Cast (src, tgt) ->
- "cast<" ^ integer_type_to_string src ^ "," ^ integer_type_to_string tgt
+ "cast<" ^ literal_type_to_string src ^ "," ^ literal_type_to_string tgt
^ ">"
let binop_to_string = Print.Expressions.binop_to_string