Uncaught type error in DEFTRANSFORM for ENCODE-UNIVERSAL-TIME

Bug #1768863 reported by Paul F. Dietz on 2018-05-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
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 :..
[...]

Stas Boukarev (stassats) wrote :

0d677e5761624bec6d5f9a2ae077f216f272ab95

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

Other bug subscribers