Skip to content

Commit f969db3

Browse files
better code and fixes potential debugging headache (#1599)
1 parent 637276d commit f969db3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/primus_test/primus_test_main.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ module Location = struct
186186
~new_representative
187187
~new_instance
188188
~new_class =
189-
let traces = List.filter_map ~f:(Map.find locations) traces in
189+
let traces = List.map ~f:(Map.find_exn locations) traces in
190190
let points = List.map ~f:set_of_trace traces in
191191
let cls' = {points; traces} in
192192
match Map.find incidents name with

0 commit comments

Comments
 (0)