Opened 10 years ago

Closed 10 years ago

#1097 closed defect (fixed)

subvector fails at vector-length

Reported by: juergen Owned by: chicken-team
Priority: major Milestone: someday
Component: core libraries Version: 4.8.x
Keywords: Cc:
Estimated difficulty:


The subvector routine should return an empty vector at the end, as does substring.
Presently it reports a range error.
For example
(let ((vec '#(0 1 2 3))) (subvector vec (vector-length vec)))
should return '#() but fails instead.

Change History (1)

comment:1 Changed 10 years ago by sjamaan

Resolution: fixed
Status: newclosed

Fixed by changeset 226007b282865d23b67db0ffa92a8b790032efdc

Note: See TracTickets for help on using tickets.