Skip to content

Commit f85eea0

Browse files
Fail when interactive & narrowing on globals are active.
1 parent b6ceb8c commit f85eea0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/maingoblint.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,7 @@ let check_arguments () =
168168
if get_bool "solvers.td3.space" && get_string "solvers.td3.side_widen" = "sides-local" then fail "solvers.td3.space is incompatible with solvers.td3.side_widen = 'sides-local'";
169169
if get_bool "solvers.td3.space" && get_bool "solvers.td3.narrow-globs.enabled" then fail "solvers.td3.space is incompatible with solvers.td3.narrow-globs.enabled";
170170
if (get_bool "incremental.load" || get_bool "incremental.save") && get_bool "solvers.td3.narrow-globs.enabled" then (
171-
set_bool "solvers.td3.narrow-globs.enabled" false;
172-
warn "solvers.td3.narrow-globs.enabled implicitly disabled by incremental analysis";
171+
fail "solvers.td3.space is incompatible with incremental analsyis.";
173172
);
174173
if List.mem "termination" @@ get_string_list "ana.activated" then (
175174
if GobConfig.get_bool "incremental.load" || GobConfig.get_bool "incremental.save" then fail "termination analysis is not compatible with incremental analysis";

0 commit comments

Comments
 (0)