Opened 4 years ago

Last modified 2 weeks ago

#297 new defect

Array elements aren't checked when setting specialized integer arrays

Reported by: sboukarev 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 (add)

Change History (9)

comment:1 Changed 4 years ago by sboukarev

  • Component changed from streams to other
  • Owner changed from mevenson to somebody

comment:2 Changed 4 years ago by mevenson

  • Component changed from other to interpreter
  • Milestone set to 1.2.0
  • Owner changed from somebody to ehuelsmann
  • Version set to 1.2.0-dev

comment:3 Changed 4 years ago by https://www.google.com/accounts/o8/id?id=AItOawkYnNNEAO_K40Gp0xROhyjOPgjvIskQ48M

  • Priority changed from minor to critical

comment:4 Changed 4 years ago by https://www.google.com/accounts/o8/id?id=AItOawkYnNNEAO_K40Gp0xROhyjOPgjvIskQ48M

  • Milestone changed from 1.2.0 to 1.3.0

comment:5 Changed 3 years ago by mevenson

  • Milestone changed from 1.3.0 to 2.0

Ticket retargeted after milestone closed

comment:6 Changed 3 years ago by mevenson

  • Milestone changed from 2.0 to 2.0.0

Milestone renamed

comment:7 Changed 3 years ago by mevenson

  • Milestone changed from 2.0.0 to 1.4.0

comment:8 Changed 9 months ago by mevenson

  • Milestone changed from 1.4.0 to 1.5.0

Ticket retargeted after milestone closed

comment:9 Changed 2 weeks ago by mevenson

  • Milestone changed from 1.5.0 to 1.6.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.