summaryrefslogtreecommitdiff
path: root/src/ast_util.ml
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast_util.ml')
-rw-r--r--src/ast_util.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast_util.ml b/src/ast_util.ml
index 968cb320..2ccf19cc 100644
--- a/src/ast_util.ml
+++ b/src/ast_util.ml
@@ -676,7 +676,7 @@ let rec string_of_exp (E_aux (exp, _)) =
| E_exit exp -> "exit " ^ string_of_exp exp
| E_throw exp -> "throw " ^ string_of_exp exp
| E_cons (x, xs) -> string_of_exp x ^ " :: " ^ string_of_exp xs
- | E_list xs -> "[||" ^ string_of_list ", " string_of_exp xs ^ "||]"
+ | E_list xs -> "[|" ^ string_of_list ", " string_of_exp xs ^ "|]"
| E_record_update (exp, FES_aux (FES_Fexps (fexps, _), _)) ->
"{ " ^ string_of_exp exp ^ " with " ^ string_of_list "; " string_of_fexp fexps ^ " }"
| E_record (FES_aux (FES_Fexps (fexps, _), _)) ->