disallow abolish(_).
This commit is contained in:
parent
00c3419e02
commit
34400afd8e
@ -503,6 +503,10 @@ abolish(N,A) :-
|
||||
( '$is_dynamic'(T, M) -> '$abolishd'(T,M) ;
|
||||
/* else */ '$abolishs'(T,M) ).
|
||||
|
||||
abolish(V) :- var(V), !,
|
||||
'$do_error'(instantiation_error,abolish(V)).
|
||||
abolish(Mod:V) :- var(V), !,
|
||||
'$do_error'(instantiation_error,abolish(M:V)).
|
||||
abolish(M:X) :- !,
|
||||
'$abolish'(X,M).
|
||||
abolish(X) :-
|
||||
|
Reference in New Issue
Block a user