Skip to content

Commit db6fee8

Browse files
author
Jérôme FERET
committed
fix bugs in checking the status of ws_ids
1 parent 597f9a7 commit db6fee8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

core/KaSa_rep/frontend/cckappa_sig.ml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ let rule_is_enabled_in_current_working_set parameters error rule_id compilation
725725
error, true (* rules that are not in the working set are always enabled *)
726726
| error, Some ws_id ->
727727
(match
728-
Ckappa_sig.Ws_index_map_and_set.Map.find_option parameters error ws_id
728+
Ckappa_sig.Ws_index_map_and_set.Map.find_option_without_logs parameters error ws_id
729729
compilation.working_set_valuations
730730
with
731731
| error, None -> error, false (*permanently disabled*)
@@ -738,7 +738,7 @@ let rule_is_permanently_disabled_in_current_working_set parameters error rule_id
738738
error, false (* rules that are not in the working set are always enabled *)
739739
| error, Some ws_id ->
740740
(match
741-
Ckappa_sig.Ws_index_map_and_set.Map.find_option parameters error ws_id
741+
Ckappa_sig.Ws_index_map_and_set.Map.find_option_without_logs parameters error ws_id
742742
compilation.working_set_valuations
743743
with
744744
| error, None -> error, true
@@ -751,7 +751,7 @@ let init_is_enabled_in_current_working_set parameters error init_id compilation
751751
error, true (* inits that are not in the working set are always enabled *)
752752
| error, Some ws_id ->
753753
(match
754-
Ckappa_sig.Ws_index_map_and_set.Map.find_option parameters error ws_id
754+
Ckappa_sig.Ws_index_map_and_set.Map.find_option_without_logs parameters error ws_id
755755
compilation.working_set_valuations
756756
with
757757
| error, None -> error, false (*permanently disabled*)
@@ -764,7 +764,7 @@ let init_is_permanently_disabled_in_current_working_set parameters error rule_id
764764
error, false (* inits that are not in the working set are always enabled *)
765765
| error, Some ws_id ->
766766
(match
767-
Ckappa_sig.Ws_index_map_and_set.Map.find_option parameters error ws_id
767+
Ckappa_sig.Ws_index_map_and_set.Map.find_option_without_logs parameters error ws_id
768768
compilation.working_set_valuations
769769
with
770770
| error, None -> error, true

0 commit comments

Comments
 (0)