.
original commit: c448e159586667c49601ce45d56f0eca0916c099
This commit is contained in:
parent
caf4d822ce
commit
d4d65ef3ed
|
@ -83,6 +83,11 @@
|
||||||
[formals
|
[formals
|
||||||
(cond
|
(cond
|
||||||
[(predicate-name)
|
[(predicate-name)
|
||||||
|
call
|
||||||
|
|
||||||
|
;; Doesn't do post-condition checking,
|
||||||
|
;; since it isn't thread safe
|
||||||
|
#;
|
||||||
(begin0
|
(begin0
|
||||||
call
|
call
|
||||||
(unless (or (result-predicate-name) ...)
|
(unless (or (result-predicate-name) ...)
|
||||||
|
@ -91,7 +96,8 @@
|
||||||
"expected one of states ~s after calling ~s in state ~s"
|
"expected one of states ~s after calling ~s in state ~s"
|
||||||
'(result-predicate-state ...)
|
'(result-predicate-state ...)
|
||||||
'method-name
|
'method-name
|
||||||
'state-name)))]
|
'state-name)))
|
||||||
|
]
|
||||||
...
|
...
|
||||||
[else
|
[else
|
||||||
(sequence-contract-violation
|
(sequence-contract-violation
|
||||||
|
|
Loading…
Reference in New Issue
Block a user