fix retractall with numbers, Paulo Moura

This commit is contained in:
Vítor Santos Costa 2014-10-23 00:35:14 +01:00
parent 6c021e7899
commit 749ba13d3d
1 changed files with 3 additions and 0 deletions

View File

@ -675,6 +675,9 @@ retractall(V) :-
;
'$retractall_lu'(T,M)
)
;
\+ callable(T) ->
'$do_error'(type_error(callable,T),retractall(T))
;
'$undefined'(T,M) ->
functor(T,Na,Ar),