Re: insert_suspension/4 incorrectly succeed (0919)

From: Joachim Schimpf <j.schimpf_at_icparc.ic.ac.uk>
Date: Fri 30 Mar 2001 01:34:57 PM GMT
Message-ID: <3AC48B81.85616EB0@icparc.ic.ac.uk>
Kish Shen wrote:
> 
> On both patch and main branches, the following succeeds:
> 
> Version 5.1.1, Thu Mar 22 14:26 2001
> ....
> [eclipse 2]: make_suspension(true,3,S), insert_suspension(X,S,1,1).
> 
> X = X
> S = 'SUSP-_225-susp'
> 
> Delayed goals:
>         true
> 
> The last argument of insert_suspension/4 should be the attribute name. `1'
> should not be a valid or defined attribute name, and even if it is, X
> should not contain a structure for this attribute (it is a free variable).


insert_suspension(X,S,1,1)
is equivalent to
insert_suspension(X,S,inst of suspend,suspend)

and the suspend attribute is automatically created:

[eclipse 1]: make_suspension(true,3,S), insert_suspension(X,S,1,1), writeq(X).
_248{suspend : suspend(['SUSP-_234-susp'|_247] - _247, [], [])}
S = 'SUSP-_234-susp'
X = X

Delayed goals:
        true
yes.
Received on Fri Mar 30 14:34:57 2001

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:05 PM GMT GMT