Opened 6 years ago

Last modified 2 years ago

#297 new defect

Array elements aren't checked when setting specialized integer arrays

Reported by: stassats Owned by: ehuelsmann
Priority: critical Milestone: 1.6.0
Component: interpreter Version: 1.2.0-dev
Keywords: Cc: stassats@…
Parent Tickets:

Description

(make-array 5 :element-type '(unsigned-byte 8) :initial-element 300)
=>
#(44 44 44 44 44)

(make-array 5 :element-type '(unsigned-byte 16) :initial-element (+ 300 (expt 2 16)))
=>
#(65836 65836 65836 65836 65836)

While
(make-array 5 :element-type 'bit :initial-element 300)
The value 300 is not of type COMMON-LISP:BIT.

Subtickets

Change History (9)

comment:1 Changed 6 years ago by stassats

Component: streamsother
Owner: changed from Evenson Not Org to somebody

comment:2 Changed 6 years ago by Evenson Not Org

Component: otherinterpreter
Milestone: 1.2.0
Owner: changed from somebody to ehuelsmann
Version: 1.2.0-dev

comment:3 Changed 6 years ago by Evenson Not Org

Priority: minorcritical

comment:4 Changed 6 years ago by Evenson Not Org

Milestone: 1.2.01.3.0

comment:5 Changed 5 years ago by Evenson Not Org

Milestone: 1.3.02.0

Ticket retargeted after milestone closed

comment:6 Changed 5 years ago by Evenson Not Org

Milestone: 2.02.0.0

Milestone renamed

comment:7 Changed 5 years ago by Evenson Not Org

Milestone: 2.0.01.4.0

comment:8 Changed 3 years ago by Evenson Not Org

Milestone: 1.4.01.5.0

Ticket retargeted after milestone closed

comment:9 Changed 2 years ago by Evenson Not Org

Milestone: 1.5.01.6.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.