Skip to content

Commit 8d76d6f

Browse files
committed
Remove redundant default value.
1 parent e81288b commit 8d76d6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

analysis/src/Shared.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ let declToString ?(recStatus = Types.Trec_not) name t =
4949
let cacheTypeToString = ref false
5050
let typeTbl = Hashtbl.create 1
5151

52-
let typeToString ?(lineWidth = 60) (t : Types.type_expr) =
52+
let typeToString ?lineWidth (t : Types.type_expr) =
5353
match
5454
if !cacheTypeToString then Hashtbl.find_opt typeTbl (t.id, t) else None
5555
with
5656
| None ->
57-
let s = PrintType.printExpr ~lineWidth t in
57+
let s = PrintType.printExpr ?lineWidth t in
5858
Hashtbl.replace typeTbl (t.id, t) s;
5959
s
6060
| Some s -> s

0 commit comments

Comments
 (0)