Det/1 isn't cleared by reconsult - warning message from check/0

Example:

:- det(foo/1).
foo(1).

and then change the code to

:- det(foo/2).
foo(1,a).

re-consult produces a bogus error message from check/0:

?- make.
% /tmp/foo compiled 0.00 sec, 0 clauses
Warning: foo/1 is declared as det, but has no clauses
true.

Thanks. Should be fixed with b4fcc4483d4457cfd142520206c02d211875556a

1 Like