Skip to content

Commit 1d9212b

Browse files
Jason Orendorffgraydon
authored andcommitted
Fix formatting trivia in Ast.fmt_stmt_body.
1 parent 2eafd28 commit 1d9212b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/boot/fe/ast.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,17 +1123,17 @@ and fmt_stmt_body (ff:Format.formatter) (s:stmt) : unit =
11231123
fmt_slot ff slot.node;
11241124
fmt ff " ";
11251125
fmt_ident ff ident;
1126-
fmt ff " = ";
1126+
fmt ff " in ";
11271127
fmt_lval ff f;
11281128
fmt_atoms ff az;
1129-
fmt ff " ";
1129+
fmt ff ") ";
11301130
fmt_obr ff;
11311131
fmt_stmts ff sf.for_each_body.node;
11321132
fmt_cbb ff
11331133
end
11341134

11351135
| STMT_put (atom) ->
1136-
fmt ff "put ";
1136+
fmt ff "put";
11371137
begin
11381138
match atom with
11391139
Some a -> (fmt ff " "; fmt_atom ff a)

0 commit comments

Comments
 (0)