mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 12:20:26 +02:00
Fix verify.scm for call-thunk/no-inline
* module/language/cps/verify.scm (check-arities): Allow call-thunk/no-inline to continue to $kreceive.
This commit is contained in:
parent
fa4cb2182d
commit
d4502dba07
1 changed files with 5 additions and 1 deletions
|
@ -282,7 +282,11 @@ definitions that are available at LABEL."
|
|||
(assert-kreceive-or-ktail))
|
||||
(($ $primcall name param args)
|
||||
(match cont
|
||||
(($ $kargs) #t)))))
|
||||
(($ $kargs) #t)
|
||||
(($ $kreceive)
|
||||
(match exp
|
||||
(($ $primcall 'call-thunk/no-inline #f (thunk)) #t)
|
||||
(_ (cont (error "bad continuation" exp cont)))))))))
|
||||
(define (check-term term)
|
||||
(match term
|
||||
(($ $continue k src exp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue