mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
allow arbitrary constants in cps
(Best-ability ChangeLog annotation added by Christine Lemmer-Webber.) * module/language/cps/types.scm (constant-type): No longer error if type not determined. Return &all-types instead.
This commit is contained in:
parent
12a9311f17
commit
c7fe0eb420
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ minimum, and maximum."
|
|||
((not (variable-bound? (make-variable val)))
|
||||
(return &special-immediate &undefined))
|
||||
|
||||
(else (error "unhandled constant" val))))
|
||||
(else (return &all-types #f))))
|
||||
|
||||
(define (constant-type-entry val)
|
||||
"Compute the type and range of VAL. Return three values: the type,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue