Skip to content

Commit 5902225

Browse files
committed
format
1 parent cef5308 commit 5902225

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

compiler/ml/code_frame.ml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,9 @@ let print ~is_warning ~draw_underline ~src ~(start_pos : Lexing.position)
191191
in
192192
let trimmed_hl_end =
193193
if line_number < highlight_line_start_line then 0
194-
else if line_number = highlight_line_start_line
195-
&& line_number = highlight_line_end_line
194+
else if
195+
line_number = highlight_line_start_line
196+
&& line_number = highlight_line_end_line
196197
then max 0 (hl_end_off - leading_space_to_cut)
197198
else if line_number = highlight_line_start_line then
198199
(* highlight runs through end of this line *)

0 commit comments

Comments
 (0)