Skip to content

Commit

Permalink
Fix highlighted_roots: only filter at root
Browse files Browse the repository at this point in the history
  • Loading branch information
lukstafi committed Dec 29, 2023
1 parent 3fbe72e commit dcc8ae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minidebug_runtime.ml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ module PrintBox (Log_to : Debug_ch) = struct
}
:: bs3
| { cond = false; _ } :: bs -> bs
| { highlight = false; _ } :: bs when !highlighted_roots -> bs
| [ { highlight = false; _ } ] when !highlighted_roots -> []
| [ ({ cond = true; _ } as entry) ] ->
let box = stack_to_tree entry in
if !to_html then
Expand Down

0 comments on commit dcc8ae7

Please sign in to comment.