We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cef5308 commit 5902225Copy full SHA for 5902225
compiler/ml/code_frame.ml
@@ -191,8 +191,9 @@ let print ~is_warning ~draw_underline ~src ~(start_pos : Lexing.position)
191
in
192
let trimmed_hl_end =
193
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
+ else if
+ line_number = highlight_line_start_line
196
+ && line_number = highlight_line_end_line
197
then max 0 (hl_end_off - leading_space_to_cut)
198
else if line_number = highlight_line_start_line then
199
(* highlight runs through end of this line *)
0 commit comments