mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 11:50:28 +02:00
Allow primcalls with multiple defs
* module/language/cps/types.scm (infer-types): Allow multiple defs.
This commit is contained in:
parent
c803566a17
commit
c9c16db694
1 changed files with 1 additions and 1 deletions
|
@ -2014,7 +2014,7 @@ maximum, where type is a bitset as a fixnum."
|
||||||
(match (intmap-ref conts k)
|
(match (intmap-ref conts k)
|
||||||
(($ $kargs _ defs)
|
(($ $kargs _ defs)
|
||||||
(infer-primcall types 0 name param args
|
(infer-primcall types 0 name param args
|
||||||
(match defs ((var) var) (() #f))))
|
(match defs ((var) var) (_ #f))))
|
||||||
(_
|
(_
|
||||||
;; (pk 'warning-no-restrictions name)
|
;; (pk 'warning-no-restrictions name)
|
||||||
types))))
|
types))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue