Uncaught type error in DEFTRANSFORM for ENCODE-UNIVERSAL-TIME

Bug #1768863 reported by Paul F. Dietz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

Bug Description

(lambda () (encode-universal-time 0 0 0 1 1 1900 -1))

==>

The value
  -3600
is not of type
  UNSIGNED-BYTE
from the function type declaration.
[...]
  0: (ENCODE-UNIVERSAL-TIME 0 0 0 1 1 1900 -1)
  1: ((SB-C:DEFTRANSFORM ENCODE-UNIVERSAL-TIME) #<SB-C::COMBINATION :FUN #<SB-C::REF :LEAF #<SB-C::GLOBAL-VAR :%SOURCE-NAME ENCODE-UNIVERSAL-TIME :TYPE #1=#<SB-KERNEL:FUN-TYPE #> :DEFINED-TYPE #1# :WHERE-..
  2: (SB-C::IR1-TRANSFORM #<SB-C::COMBINATION :FUN #<SB-C::REF :LEAF #<SB-C::GLOBAL-VAR :%SOURCE-NAME ENCODE-UNIVERSAL-TIME :TYPE #1=#<SB-KERNEL:FUN-TYPE #> :DEFINED-TYPE #1# :WHERE-FROM :DECLARED :KIND :..
[...]

Revision history for this message
Stas Boukarev (stassats) wrote :

0d677e5761624bec6d5f9a2ae077f216f272ab95

Changed in sbcl:
status: New → Fix Committed
Stas Boukarev (stassats)
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.