1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

Allow primcalls with multiple defs

* module/language/cps/types.scm (infer-types): Allow multiple defs.
This commit is contained in:
Andy Wingo 2021-06-19 22:15:39 +02:00
parent c803566a17
commit c9c16db694

View file

@ -2014,7 +2014,7 @@ maximum, where type is a bitset as a fixnum."
(match (intmap-ref conts k)
(($ $kargs _ defs)
(infer-primcall types 0 name param args
(match defs ((var) var) (() #f))))
(match defs ((var) var) (_ #f))))
(_
;; (pk 'warning-no-restrictions name)
types))))